[
https://issues.apache.org/jira/browse/KAFKA-8433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16848605#comment-16848605
]
Matthias J. Sax commented on KAFKA-8433:
----------------------------------------
I seems you are using this class for your own testing purpose? It's not
recommended, because it's not part of public API.
Do you know about the official test-utils package:
[https://kafka.apache.org/22/documentation/streams/developer-guide/testing.html]
I would urge you to use the public test-utils package instead of relying on
internal testing classes. We can still merge the PR, but we also tend to remove
unused methods from time to time and if we don't need them internally, it might
break for you in the future again.
> Give the opportunity to use serializers and deserializers with
> IntegrationTestUtils
> -----------------------------------------------------------------------------------
>
> Key: KAFKA-8433
> URL: https://issues.apache.org/jira/browse/KAFKA-8433
> Project: Kafka
> Issue Type: Improvement
> Components: streams
> Affects Versions: 2.3.0
> Reporter: Anthony Callaert
> Priority: Minor
>
> Currently, each static method using a producer or a consumer don't allow to
> pass serializers or deserializers as arguments.
> Because of that we are not able to mock schema registry (for example), or
> other producer / consumer specific attributs.
> To resolve that we just need to add methods using serializers or
> deserializers as arguments.
> Kafka producer and consumer constructors already accept null serializers or
> deserializers.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)