kafka_neu-76e4d1b5-8b7b-4eb8-ad4b-86e90f693c1d.zip-extract/kafka-4.2.0-src/examples/README.md

Path
kafka_neu-76e4d1b5-8b7b-4eb8-ad4b-86e90f693c1d.zip-extract/kafka-4.2.0-src/examples/README.md
Status
scanned
Type
file
Name
README.md
Extension
.md
Programming language

      
    
Mime type
text/plain
File type
ASCII text
Tag

      
    
Rootfs path

      
    
Size
592 (592 bytes)
MD5
c75dca3b6f524fbb33501086fe3ea767
SHA1
58c94dbe174966c175b9105d9db91324e86d4297
SHA256
6bb55a7b3b4911873d1490e5bfe6d1ff41d97149c3c1831f5bec67a066b2e7a1
SHA512

      
    
SHA1_git
6451982f0a5a552e0db1b99443feaafe37a29a06
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
README.md | 592 bytes |

# Kafka client examples This module contains some Kafka client examples. 1. Start a Kafka 2.5+ local cluster with a plain listener configured on port 9092. 2. Run `examples/bin/java-producer-consumer-demo.sh 10000` to asynchronously send 10k records to topic1 and consume them. 3. Run `examples/bin/java-producer-consumer-demo.sh 10000 sync` to synchronous send 10k records to topic1 and consume them. 4. Run `examples/bin/exactly-once-demo.sh 6 3 10000` to create input-topic and output-topic with 6 partitions each, start 3 transactional application instances and process 10k records.