kafka

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
kafka [2020/11/11 09:50] andonovjkafka [2020/11/11 10:11] (current) andonovj
Line 5: Line 5:
  
 So for example, you can have: Oracle -> Kafka -> Hadoop/Hbase So for example, you can have: Oracle -> Kafka -> Hadoop/Hbase
 +
 +For that, Kafka has two sets of clients:
 +
 +  * Producers - Clients who procedure / import data into Kafka
 +  * Consumers - Clients who consume / read the data from Kafka
 +
 +
 +{{ :kafkaarch.png?400 |}}
  
 =====Management===== =====Management=====
Line 48: Line 56:
 </Code> </Code>
  
 +
 +====Consume message====
 +To consume / read a message from Kafka, we can use the following command:
 +
 +
 +<Code:bash|Consume/Read Message>
 +[oracle@edvmr1p0 config]$ kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic ogg12cBigData --from-beginning --zookeeper localhost:2181
 +Testing Kafka in the context of OGG 12c for Big Data
 +Second message sent to the Kafka cluster
 +
 +Second message sent to the Kafka cluster
 +</Code>
  
 =====Appendix===== =====Appendix=====
  • kafka.1605088255.txt.gz
  • Last modified: 2020/11/11 09:50
  • by andonovj