authorjapps / zerocode

A community-developed, free, opensource, automated testing framework for microservices APIs, Kafka(Data Streams) and Load testing. Zerocode Open Source enables you to create, change and maintain your automated test scenarios via simple JSON or YAML files. Visit documentation below:
https://zerocode-tdd.tddfy.com
Apache License 2.0
894 stars 395 forks source link

[TECH-DEBT] Add an Integration test scenario with multi partition topic to reproduce NPE for seekTimestamp feature #633

Closed authorjapps closed 6 months ago

authorjapps commented 7 months ago
          > @authorjapps have added an init container that will create a multi partition topic to run the test against.

Ideally we should change the num.partitions setting in the kafka broker, but can't find a way to do that in the cp-kafka image we have used. Let me know your thoughts

ok. Let's figure out this in the coming days.

Also, if you have tested locally in your Kafka cluster that everything works as expected, then we should be fine for now. I will raise a TECH-DEBT to get a Integration test added to our CI suite to cover this PARTITION->OFFSET NPE scenario.

Let's get this merged anyways.

_Originally posted by @authorjapps in https://github.com/authorjapps/zerocode/pull/630#discussion_r1509559568_


Note: Go through the entire conversation on the PR prior to picking this issue and fixing it. PR Link: https://github.com/authorjapps/zerocode/pull/630