Kafka - Terms
Producer/Consumer - any application that wants to produce/consume message
Topics - logical concept
Partitions - Physical commit logs of topics
broker === server (kafka-server.sh)
replication-factors - # of copies to be made for redundancy
ISR — In sync Replicas (determines the health) Health of the system is good if # of replica==ISR #
When producing messages, the essential properties are:
 bootstrap. servers — which specifies the list of brokers to be tried out
 key serializer
 value serializer — both of which are normally string serializers
The pseudo code is as below
  KafkaProducer kp = new KafkaProducer(props);
  kp.send (new RecordProducer(“topicName”,”key”,”value);
RecordProducer is basically one can say as the message but Kafka ecosystem purposely doesn't use the word message















