hit-lacus edited a comment on issue #1166: Prepare DebugTomcat and Integration Test in Hadoop3 Env URL: https://github.com/apache/kylin/pull/1166#issuecomment-603282888 ## Prepare Kafka #### Start Kafka 1. Modify `$KAFKA_HOME/config/server.properties` ```sh # Do not use the default port listeners=PLAINTEXT://sandbox-hdp.hortonworks.com:9093 # Do not use the default storage path log.dirs=kafka-logs # Do not use the default metadata path zookeeper.connect=sandbox-hdp.hortonworks.com:2181/lacus ``` 2. Start broker ```sh nohup sh bin/kafka-server-start.sh config/server.properties & ``` 3. Test producer and consumer ```sh # Create a topic sh bin/kafka-topics.sh --create --topic test02 --zookeeper 10.1.0.2:2181/lacus --partitions 3 --replication-factor 1 # Send some message sh bin/kafka-console-producer.sh --topic test02 --broker-list 10.1.0.2:9093 # Consume all these message sh bin/kafka-console-consumer.sh --topic test02 --bootstrap-server 10.1.0.2:9093 --from-beginning ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services