Class TopicOptions<O extends TopicOptions<O,​T>,​T>

  • Type Parameters:
    T - type for topic value
    Direct Known Subclasses:
    TopicBuilder

    public abstract class TopicOptions<O extends TopicOptions<O,​T>,​T>
    extends DistributedPrimitiveOptions<O>
    Builder for Topic instances.
    • Constructor Detail

      • TopicOptions

        public TopicOptions()
    • Method Detail

      • withCompatibilityFunction

        public O withCompatibilityFunction​(BiFunction<T,​Version,​T> compatibilityFunction)
        Sets a compatibility function on the map.
        Parameters:
        compatibilityFunction - the compatibility function
        Returns:
        the consistent map builder