quixio / quix-streams

Quix Streams - A library for data streaming and Python Stream Processing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add interface for test purposes to Quix/KafkaStreamingClient

peter-quix opened this issue · comments

commented

Is your feature request related to a problem? Please describe.
As a software developer I wish to have tests exercising the code where I use either of these clients.

Describe the solution you'd like
Add an interface to both. Check if a common interface is possible, but it is not mandatory.

Describe alternatives you've considered
Use of

is possible for some testing, but not always the best.

Additional context
Might need to treat this interface with mostly testing goal, rather than an unbreakable contract. Not introducing breaking change however is still vastly preferred.

commented

TestStreamingClient should implement both, so can use it in place of either.