Class FinalResultsSuppressionBuilder<K extends Windowed>

    • Method Detail

      • withName

        public Suppressed<K> withName​(String name)
        Description copied from interface: Suppressed
        Use the specified name for the suppression node in the topology.

        This can be used to insert a suppression without changing the rest of the topology names (and therefore not requiring an application reset).

        Note however, that once a suppression has buffered some records, removing it from the topology would cause the loss of those records.

        A suppression can be "disabled" with the configuration untilTimeLimit(Duration.ZERO, ....

        Specified by:
        withName in interface Suppressed<K extends Windowed>
        Parameters:
        name - The name to be used for the suppression node and changelog topic
        Returns:
        The same configuration with the addition of the given name.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object