I assume you are referring to the `TopologyTestDriver`?
How do you pass/specify the serdes?
For `TestInputTopic` and `TestOutputTopic` you would pass (de)serializer
instances and thus you will need to call `configure()` in your test code
explicitly.
Similarly, if you pass `Serde` instances via `Consumed`, `Produced`,
`Materialized` et al. configuration objects, you would need to call
`configure()` explicitly in your own code (for both test and production).
Both KafkaStreams and TopologyTestDriver would only call `configure()`
for default serdes that you specify via the provided properties.
-Matthias
On 10/8/21 1:38 PM, Upesh Desai wrote:
Hello, we have been using the streams testing suite for some time now.
We use custom serializers/deserializers for our kafka data, and allow
for some custom configuration of the serdes via the
‘configure(Map<String,Object>)’ method. Something we noticed is that for
the TopologyTestDriver this is never called, causing some issues for our
stream tests. I also confirmed that for the actual streams code this
method is always called when starting the stream instances.
So my question is that is this case (and possibly others I’m not aware
of) valid for updating the testing suite drivers to more closely follow
the life cycle of the production streams code, life cycle and logic?
Thanks in advance,
Upesh
<https://www.itrsgroup.com/>
Upesh Desai
Senior Software Developer
*ude...@itrsgroup.com* <mailto:ude...@itrsgroup.com>
*www.itrsgroup.com* <https://www.itrsgroup.com/>
Internet communications are not secure and therefore the ITRS Group does
not accept legal responsibility for the contents of this message. Any
view or opinions presented are solely those of the author and do not
necessarily represent those of the ITRS Group unless otherwise
specifically stated.
[itrs.email.signature]
*Disclaimer*
The information contained in this communication from the sender is
confidential. It is intended solely for use by the recipient and others
authorized to receive it. If you are not the recipient, you are hereby
notified that any disclosure, copying, distribution or taking action in
relation of the contents of this information is strictly prohibited and
may be unlawful.
This email has been scanned for viruses and malware, and may have been
automatically archived by *Mimecast Ltd*, an innovator in Software as a
Service (SaaS) for business. Providing a *safer* and *more useful* place
for your human generated data. Specializing in; Security, archiving and
compliance.