Table of Contents |
---|
References
CPS-1613 Explore How to Test Integrate Kafka Tests in the CSITs
Assumptions
# | Issue | Notes | Decisions |
---|---|---|---|
1 | kafka container port issue | The exposed port of kafka container changed from "19092" to "9092" in docker-compose.yml | As per the technical discussion, there is no hard-coded port given in any java classes. |
2 | KAFKA_ADVERTISED_LISTENERS hostname resolution issue | The hostname changed from "kafka" to "localhost" in docker-compose.yml | As per the technical discussion, there is no hard-coded port given in any java classes. |
Issues & Decisions
# | Issue | Notes | Decisions |
---|---|---|---|
1 | kafka 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. |
2 | KAFKA_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?
...
- ConfluentKafkaLibrary is a Robot Framework library to verify Kafka Event Streaming.
- Robotframework-ConfluentKafkaLibrary
- API for robotframework-ConfluentKafkaLibrary
Issues
1-In the current implementation of ConfluentKafkaLibrary, the consumer module connects to Kafka cluster from the port "9092".
...