public static interface ProducerRegistration.TopicBuilder<K,V>
Modifier and Type | Method and Description |
---|---|
ProducerRegistration.ProducerBuilder<K,V> |
forTopic(ExpectedTopicConfiguration topic) |
default ProducerRegistration.ProducerBuilder<K,V> |
forTopic(java.lang.String topic) |
default ProducerRegistration.ProducerBuilder<K,V> forTopic(java.lang.String topic)
topic
- the topic for that messages will be producedProducerRegistration.ProducerBuilder<K,V> forTopic(ExpectedTopicConfiguration topic)
topic
- detailed definition of the topic for that messages will be produced. This
details are used when topic existence should be checked or topic should be created if
missing. If topic differs, a TopicMissingException
is thrown.