Interface ArtifactResolverStrategy<T>

    • Method Detail

      • artifactReference

        ArtifactReference artifactReference​(String topic,
                                            boolean isKey,
                                            T schema)
        For a given topic and message, returns the ArtifactReference under which the message schemas are located or should be registered in the registry.
        Parameters:
        topic - the Kafka topic name to which the message is being published.
        isKey - true when encoding a message key, false for a message value.
        schema - the schema of the message being serialized/deserialized, can be null if we don't know it beforehand
        Returns:
        the ArtifactReference under which the message schemas are located or should be registered