Package io.quarkus.kafka.streams.runtime
Class HotReplacementInterceptor
- java.lang.Object
-
- io.quarkus.kafka.streams.runtime.HotReplacementInterceptor
-
- All Implemented Interfaces:
AutoCloseable
,org.apache.kafka.clients.consumer.ConsumerInterceptor
,org.apache.kafka.common.Configurable
public class HotReplacementInterceptor extends Object implements org.apache.kafka.clients.consumer.ConsumerInterceptor
-
-
Constructor Summary
Constructors Constructor Description HotReplacementInterceptor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
configure(Map<String,?> configs)
void
onCommit(Map offsets)
org.apache.kafka.clients.consumer.ConsumerRecords
onConsume(org.apache.kafka.clients.consumer.ConsumerRecords records)
static void
onMessage(Runnable handler)
-
-
-
Method Detail
-
configure
public void configure(Map<String,?> configs)
- Specified by:
configure
in interfaceorg.apache.kafka.common.Configurable
-
onConsume
public org.apache.kafka.clients.consumer.ConsumerRecords onConsume(org.apache.kafka.clients.consumer.ConsumerRecords records)
- Specified by:
onConsume
in interfaceorg.apache.kafka.clients.consumer.ConsumerInterceptor
-
onCommit
public void onCommit(Map offsets)
- Specified by:
onCommit
in interfaceorg.apache.kafka.clients.consumer.ConsumerInterceptor
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceorg.apache.kafka.clients.consumer.ConsumerInterceptor
-
onMessage
public static void onMessage(Runnable handler)
-
-