Interface ContextNameStrategy
- All Superinterfaces:
org.apache.kafka.common.Configurable
- All Known Implementing Classes:
NullContextNameStrategy
public interface ContextNameStrategy
extends org.apache.kafka.common.Configurable
A
ContextNameStrategy is used by a serializer or deserializer to determine
the context name used with the schema registry.-
Method Summary
-
Method Details
-
configure
- Specified by:
configurein interfaceorg.apache.kafka.common.Configurable
-
contextName
For a given topic, returns the context name to use.- Parameters:
topic- The Kafka topic name.- Returns:
- The context name to use
-