Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update versions to 7.x and 3.x #352

Closed
vincentjames501 opened this issue Mar 30, 2023 · 0 comments · Fixed by #353
Closed

Update versions to 7.x and 3.x #352

vincentjames501 opened this issue Mar 30, 2023 · 0 comments · Fixed by #353

Comments

@vincentjames501
Copy link

We'd like to use the newer kafka streams/clients/serializer/etc versions. It also helps with M1/M2 machines as this updates the dependency on [org.rocksdb/rocksdbjni "5.18.4"] which will throw

java.lang.UnsatisfiedLinkError: /private/var/folders/mp/8jbrtl0x21337tmsyfrx72s40000gp/T/librocksdbjni338208019188803407.jnilib: dlopen(/private/var/folders/mp/8jbrtl0x21337tmsyfrx72s40000gp/T/librocksdbjni338208019188803407.jnilib, 0x0001): tried: '/private/var/folders/mp/8jbrtl0x21337tmsyfrx72s40000gp/T/librocksdbjni338208019188803407.jnilib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/private/var/folders/mp/8jbrtl0x21337tmsyfrx72s40000gp/T/librocksdbjni338208019188803407.jnilib' (no such file), '/private/var/folders/mp/8jbrtl0x21337tmsyfrx72s40000gp/T/librocksdbjni338208019188803407.jnilib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))

Example of some recent dependencies:

                 [io.confluent/kafka-schema-registry-client "7.3.2" :exclusions [com.fasterxml.jackson.core/jackson-databind]]
                 [io.confluent/kafka-avro-serializer "7.3.2"]
                 [io.confluent/kafka-json-schema-serializer "7.3.2"]
                 [org.apache.kafka/kafka-clients "3.4.0"]
                 [org.apache.kafka/kafka-streams "3.4.0"]
                 [org.apache.kafka/kafka-streams-test-utils "3.4.0"]
                 [org.apache.kafka/kafka-clients "3.4.0"]

When bringing them in transiently (overriding from jackdaw) I get the following when building our uberjar:

Reflection warning, jackdaw/data/consumer.clj:20:3 - call to org.apache.kafka.clients.consumer.ConsumerRecord ctor can't be resolved.
Reflection warning, jackdaw/streams/interop.clj:265:6 - call to method join on org.apache.kafka.streams.kstream.KStream can't be resolved (argument types: org.apache.kafka.streams.kstream.KStream, org.apache.kafka.streams.kstream.ValueJoiner, org.apache.kafka.streams.kstream.JoinWindows, org.apache.kafka.streams.kstream.Joined).
Reflection warning, jackdaw/streams/interop.clj:284:6 - call to method leftJoin on org.apache.kafka.streams.kstream.KStream can't be resolved (argument types: org.apache.kafka.streams.kstream.KStream, org.apache.kafka.streams.kstream.ValueJoiner, org.apache.kafka.streams.kstream.JoinWindows, org.apache.kafka.streams.kstream.Joined).
Reflection warning, jackdaw/streams/interop.clj:314:6 - call to method outerJoin on org.apache.kafka.streams.kstream.KStream can't be resolved (argument types: org.apache.kafka.streams.kstream.KStream, org.apache.kafka.streams.kstream.ValueJoiner, org.apache.kafka.streams.kstream.JoinWindows, org.apache.kafka.streams.kstream.Joined).
Reflection warning, jackdaw/streams/interop.clj:322:5 - call to method process on org.apache.kafka.streams.kstream.KStream can't be resolved (argument types: org.apache.kafka.streams.processor.api.ProcessorSupplier, unknown).
Reflection warning, jackdaw/admin.clj:36:32 - call to method deleteTopics on org.apache.kafka.clients.admin.AdminClient can't be resolved (argument types: unknown).
Reflection warning, jackdaw/admin.clj:36:26 - reference to field all can't be resolved.
Reflection warning, jackdaw/admin.clj:39:33 - call to method describeTopics on org.apache.kafka.clients.admin.AdminClient can't be resolved (argument types: unknown, org.apache.kafka.clients.admin.DescribeTopicsOptions).
Reflection warning, jackdaw/admin.clj:39:27 - reference to field all can't be resolved.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant