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

starrocks-connector-for-kafka is not compatible with older versions of Kafka. #26

Open
JamesWalkerrrr opened this issue Jun 26, 2024 · 0 comments

Comments

@JamesWalkerrrr
Copy link

JamesWalkerrrr commented Jun 26, 2024

When I use Kafka version 2.6.2 to start connect-standalone.sh, an error occurs:

[2024-06-26 13:50:25,578] ERROR Stopping due to error (org.apache.kafka.connect.cli.ConnectStandalone:130)
java.lang.NoSuchFieldError: DEFAULT
	at org.apache.kafka.connect.runtime.WorkerConfig.baseConfigDef(WorkerConfig.java:284)
	at org.apache.kafka.connect.runtime.standalone.StandaloneConfig.<clinit>(StandaloneConfig.java:34)
	at org.apache.kafka.connect.cli.ConnectStandalone.main(ConnectStandalone.java:81)

I tried moving all the jars from the connector directory to Kafka's libs directory, and deleted duplicate jars of different versions while keeping Kafka's jars, but it still failed.

Then I switched to Kafka version 3.4.0, and the connector started successfully.

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

No branches or pull requests

1 participant