Interface ThreadStateProcessor

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default void clearThreadState​(org.apache.kafka.clients.consumer.Consumer<?,​?> consumer)
      Call to clear thread-bound resources which were set up in setupThreadState(Consumer).
      default void setupThreadState​(org.apache.kafka.clients.consumer.Consumer<?,​?> consumer)
      Call to set up thread-bound resources which will be available for the entire duration of enclosed operation involving a Consumer.
    • Method Detail

      • setupThreadState

        default void setupThreadState​(org.apache.kafka.clients.consumer.Consumer<?,​?> consumer)
        Call to set up thread-bound resources which will be available for the entire duration of enclosed operation involving a Consumer.
        Parameters:
        consumer - the consumer.
      • clearThreadState

        default void clearThreadState​(org.apache.kafka.clients.consumer.Consumer<?,​?> consumer)
        Call to clear thread-bound resources which were set up in setupThreadState(Consumer).
        Parameters:
        consumer - the consumer.