Introduction to Red Hat AMQ Streams
Prerequisite
Basic Start with Zookeeper
cd ~/amq-streams-2022/1-introduction-amq-streamstree -L 1 kafkakafka ├── LICENSE ├── NOTICE ├── bin --> kafka command line folder ├── config --> kafka configuration folder ├── libs --> kafka java libraries folder └── licenses# the directory where the snapshot is stored. dataDir=/tmp/zookeeper # the port at which the clients will connect clientPort=2181 # disable the per-ip limit on the number of connections since this is a non-production config maxClientCnxns=0 # Disable the adminserver by default to avoid port conflicts. # Set the port to something non-conflicting if choosing to enable this admin.enableServer=false # admin.serverPort=8080./kafka/bin/zookeeper-server-start.sh ./kafka/config/zookeeper.properties... [2022-11-10 06:36:46,300] INFO Using checkIntervalMs=60000 maxPerMinute=10000 maxNeverUsedIntervalMs=0 (org.apache.zookeeper.server.ContainerManager) [2022-11-10 06:36:46,302] INFO ZooKeeper audit is disabled. (org.apache.zookeeper.audit.ZKAuditProvider)
Basic Start Kafka Broker
Basic Create Kafka Topic
Basic Consuming and producing messages
Stop Zookeeper & Kafka Broker
Last updated

