You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However this does not work and generates the following message in data-gen.log:
2020-09-09 10:16:43,068 INFO g.DataGenerator [main] Starting Kafka Data Generator
2020-09-09 10:16:43,094 INFO g.DataGenerator [main] Parsing CLI arguments
2020-09-09 10:16:43,095 ERROR g.DataGenerator [main] Output to Kafka and Output to EventHubs can't be enabled/disabled at the same time
If I had at the end of the command the following arguments then this works:
The default instructions in the README show 3 examples:
java -jar build/libs/kafka-data-gen.jar -message-count 20000000 -message-size 256 -topic kafka-demo -bootstrap.servers "localhost:9092" -acks all -kafka-retries 0 -kafka-batch-size 60000 -kafka-linger 1 -kafka-buffer-memory 33554432 -eps 10000
java -jar build/libs/kafka-data-gen.jar -message-count 20000000 -message-size 256 -topic kafka-demo -bootstrap.servers "localhost:9092" -acks all -kafka-retries 0 -kafka-batch-size 60000 -kafka-linger 1 -kafka-buffer-memory 33554432 -eps 0
java -jar build/libs/kafka-data-gen.jar -message-count 10 -message-size 256 -topic kafka-demo -bootstrap.servers "localhost:9092" -acks all -kafka-retries 0 -kafka-batch-size 60000 -kafka-linger 1 -kafka-buffer-memory 33554432 -eps 0 -generate-kafka-headers true -header-gen-profile 0
However this does not work and generates the following message in data-gen.log:
If I had at the end of the command the following arguments then this works:
-output-eventhubs false -output-kafka true -output-stdout false
Example:
java -jar build/libs/kafka-data-gen.jar -message-count 20000000 -message-size 256 -topic kafka-demo -bootstrap.servers "localhost:19092" -acks all -kafka-retries 0 -kafka-batch-size 60000 -kafka-linger 1 -kafka-buffer-memory 33554432 -eps 0 -output-eventhubs false -output-kafka true -output-stdout false
Thanks
The text was updated successfully, but these errors were encountered: