What is a Stream? Also known as Pipe, Message Queue or Event Processing in Kafka.
The stream API
The Kafka cluster stores streams of records in categories called topics.
Application Id (application.id): Each stream processing application must have a unique id.
This id is used in the following places to isolate resources used by the application from others:
When an application is updated, it is recommended to change application.id unless it is safe to let the updated application re-use the existing data in internal topics and state stores. One pattern could be to embed version information within application.id, e.g., my-app-v1.0.0 vs. my-app-v1.0.2.
https://docs.confluent.io/3.0.0/streams/concepts.html#streams-concepts
Two:
Group Id | Artifact Id | Description / why needed |
---|---|---|
org.apache.kafka | kafka-streams | Base library for Kafka Streams. Required. |
org.apache.kafka | kafka-clients | Kafka client library. Contains built-in serializers/deserializers. Required. |
org.apache.avro | avro | Apache Avro library. Optional (needed only when using Avro). |
io.confluent | kafka-avro-serializer | Confluent’s Avro serializer/deserializer. Optional (needed only when using Avro). |