Skip to content
Snippets Groups Projects
  • Seok Won's avatar
    55c9af5c
    Kafka Producer · 55c9af5c
    Seok Won authored
    Send "Hello World!" string to topic named "first-topic".
    
    Producer sends a data to Consumer asynchronous, so we have to flush to see results right away.
    
    Execute below command to see "Hello World!"
    
    >> kafka-console-consumer --bootstrap-server localhost:9092 --topic first-topic --group group-one
    55c9af5c
    History
    Kafka Producer
    Seok Won authored
    Send "Hello World!" string to topic named "first-topic".
    
    Producer sends a data to Consumer asynchronous, so we have to flush to see results right away.
    
    Execute below command to see "Hello World!"
    
    >> kafka-console-consumer --bootstrap-server localhost:9092 --topic first-topic --group group-one