-
Notifications
You must be signed in to change notification settings - Fork 96
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
Kafka create_topic deprecated option #2279
Comments
OK just noticed, the readme says |
I've seen a 'warning' about the zookeeper vs. bootstrap-server option for a while, but it all "worked" and seemed compatible that way. Do you get an actual failure, i.e. you MUST use |
I'm on kafka-2.13-2.8.0 and while I get "--zookeeper is deprecated" warning, it still works fine... |
To avoid the deprecation message, I'll go ahead and replace
in the zookeeper output.. Using the changed port number as in your diff it seems fine. |
with --bootstrap-server. Note that port number also needs to change from 2181 to 9092, otherwise zookeeper gives strange messages ``` WARN Exception causing close of session 0x0: Unreasonable length = 308375649 (org.apache.zookeeper.server.NIOServerCnxn) ``` and clients will hang #2279
Examples now use --bootstrap-server. |
As you can see, on my version it is an Error. |
Interesting. kafka-2.13-2.8.0 just shows a warning, thanks for confirming that you get an error with kafka_2.12-3.2.0. In the Java code we use the "bootstrap.servers" property, I assume that works OK? phoebus/app/alarm/model/src/main/java/org/phoebus/applications/alarm/client/KafkaHelper.java Line 59 in 2a9a07a
|
I only did some rough tests, yet, but except for the changes in the example scripts I did not touch anything and alarm server and gui seem to have worked. |
Great, thanks! |
Hey,
according to app/alarm/Readme.md I downloaded Kafka 2.12 and tried to run
create_alarm_topics.sh
.I got a
--zookeeper: deprecated option
error.I had to modify the script this way to get it working:
The text was updated successfully, but these errors were encountered: