Versions Compared

Key

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

Table of Contents


References

CPS-1613 Explore How to Test Integrate Kafka Tests in the CSITs


Assumptions

#IssueNotesDecisions
1kafka container port issueThe exposed port of kafka container changed from "19092" to "9092" in docker-compose.ymlAs per the technical discussion, there is no hard-coded port given in any java classes.
2KAFKA_ADVERTISED_LISTENERS hostname resolution issueThe hostname changed from "kafka" to "localhost" in docker-compose.ymlAs per the technical discussion, there is no hard-coded port given in any java classes.

Issues & Decisions

#IssueNotesDecisions
1kafka container port issue

Open Questions:

1- Can we change the port to "9092"?

Since docker-compose.yml is being used for local env. setup and CSIT, it is possible to change to 9092.
2KAFKA_ADVERTISED_LISTENERS hostname resolution issue

Open Questions:

1- Can we change the "kafka" to "localhost" in the listener?

2- Is it possible to update /etc/hosts in ONAP Jenkins?

As per local tests run by the team 2, and ONAP build, the required change has no negative effect.

Overview

Can Robot Framework test Kafka clusters and events?

...

 Issues

1-In the current implementation of ConfluentKafkaLibrary, the consumer module connects to Kafka cluster from the port "9092".

...