--
You received this message because you are subscribed to the Google Groups "Confluent Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platf...@googlegroups.com.
To post to this group, send email to confluent...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/2c13f609-7bfb-493c-a0ba-f528f1f1cc77%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/CAAyirGt%2B4rszKWXyzoBAfu-JW5g7B0S8wRCMNC%2B9Ojedr8EMDA%40mail.gmail.com.
Hello,Offhand, I'm not aware of any specific docs, but if I'm not mistaken, there's no link between the broker and schema registry.I think it should be sufficient to set up the schema registry serdes in your streams app just as you would for production code, and it should also work with the embedded kafka cluster (or even the TopologyTestDriver).Does this help?-John
On Mon, Oct 8, 2018 at 3:39 AM <ramon....@ext.privalia.com> wrote:
Hi,--Is there any documentation or, examples with tests of an embebbed kafka cluster linked with schemaRegistry(Avro) where I can use for unit testing?Dependencies im using:testCompile 'org.apache.kafka:kafka-streams-test-utils:2.0.0'testCompile group: 'org.mockito', name: 'mockito-all', version: '1.10.19'compile("org.apache.kafka:kafka-streams:2.0.0")I only found some examples with Spring Kafka, but im wongering if KStreams has its onw way.Thanks for the time.
You received this message because you are subscribed to the Google Groups "Confluent Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platform+unsub...@googlegroups.com.
> confluent-platform+unsub...@googlegroups.com <javascript:>.
> To post to this group, send email to
> confluent...@googlegroups.com <javascript:>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/confluent-platform/2c13f609-7bfb-493c-a0ba-f528f1f1cc77%40googlegroups.com
> <https://groups.google.com/d/msgid/confluent-platform/2c13f609-7bfb-493c-a0ba-f528f1f1cc77%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Confluent Platform" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to confluent-platform+unsub...@googlegroups.com
> <mailto:confluent-platform+unsub...@googlegroups.com>.
I'm facing a problem with the TopologyTestDriver, since is mandatory to set the property: KafkaAvroSerializerConfig.SCHEMA_REGISTRY_URL_CONFIG, "url"
when the topology is trying to publish the record into the topic, it goes to the "url" provided in the config. How can I mock that access to point to the MockedSchemaRegistry?
To write records in avro to the topic works with mockSchemaRegistryClient.register
Also another issue, how can I load a stateStore into the topology? I'm creating the stateStore at the initialization(the topic is already created)
more info: