Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Add consumer docker-compose service to "docker-compose/docker-compose.ymlfor topic  "cps.data-updated-events" as below : 

Code Block
languageyml
titledocker-compose (kafka-consumer)
collapsetrue
  consumer:
    image: taion809/kafka-cli:latest
    container_name: kafka-consumer
    command: kafka-console-consumer.sh --bootstrap-server kafka:9092 --topic cps.data-updated-events
    links:
      - kafka

...

If CPS-temporal notifications are disabled will see warning message as "WARN [Consumer clientId=consumer-1, groupId=console-consumer-32597] Error while fetching metadata with correlation id 9 : {cps.data-updated-events=LEADER_NOT_AVAILABLE} (org.apache.kafka.clients.NetworkClient)" else

CM handle notifications  :

Image Added