[ 
https://issues.apache.org/jira/browse/KAFKA-16263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17837762#comment-17837762
 ] 

Walter Hernandez commented on KAFKA-16263:
------------------------------------------

Are you referring to:
 * 
{{[setGlobalStateRestoreListener|https://kafka.apache.org/37/javadoc/org/apache/kafka/streams/KafkaStreams.html#setGlobalStateRestoreListener(org.apache.kafka.streams.processor.StateRestoreListener)]}}
 * 
{{[setStandbyUpdateListener|https://kafka.apache.org/37/javadoc/org/apache/kafka/streams/KafkaStreams.html#setStandbyUpdateListener(org.apache.kafka.streams.processor.StandbyUpdateListener)]}}
 * 
{{[setStateListener|https://kafka.apache.org/37/javadoc/org/apache/kafka/streams/KafkaStreams.html#setStateListener(org.apache.kafka.streams.KafkaStreams.StateListener)]}}
 ** An app can set a single 
[{{KafkaStreams.StateListener}}|https://kafka.apache.org/37/javadoc/org/apache/kafka/streams/KafkaStreams.StateListener.html]
 so that the app is notified when state changes.
{{}}
 * 
{{[setUncaughtExceptionHandler|https://kafka.apache.org/37/javadoc/org/apache/kafka/streams/KafkaStreams.html#setUncaughtExceptionHandler(org.apache.kafka.streams.errors.StreamsUncaughtExceptionHandler)]}}
 ** Set the handler invoked when an internal 
[{{stream}}|https://kafka.apache.org/37/javadoc/org/apache/kafka/streams/StreamsConfig.html#NUM_STREAM_THREADS_CONFIG]

 

There's also this really nice tutorial on the uncaught-exception-handler 
feature:
[https://github.com/bbejeck/streams-uncaught-exceptions-workshop]

 

> Add Kafka Streams docs about available listeners/callback
> ---------------------------------------------------------
>
>                 Key: KAFKA-16263
>                 URL: https://issues.apache.org/jira/browse/KAFKA-16263
>             Project: Kafka
>          Issue Type: Task
>          Components: docs, streams
>            Reporter: Matthias J. Sax
>            Assignee: Kuan Po Tseng
>            Priority: Minor
>              Labels: beginner, newbie
>
> Kafka Streams allows to register all kind of listeners and callback (eg, 
> uncaught-exception-handler, restore-listeners, etc) but those are not in the 
> documentation.
> A good place might be 
> [https://kafka.apache.org/documentation/streams/developer-guide/running-app.html]
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to