From 26d45e7bfc9274dfc226047d5d8573e0aabf0d20 Mon Sep 17 00:00:00 2001 From: samarth-ksolves2024 Date: Wed, 27 Aug 2025 11:45:36 +0530 Subject: [PATCH 1/2] Updated running-app.html for Available Listeners --- docs/streams/developer-guide/running-app.html | 75 +++++++++++++++++-- 1 file changed, 68 insertions(+), 7 deletions(-) diff --git a/docs/streams/developer-guide/running-app.html b/docs/streams/developer-guide/running-app.html index a6c603f2a3c21..cc79b03869910 100644 --- a/docs/streams/developer-guide/running-app.html +++ b/docs/streams/developer-guide/running-app.html @@ -134,17 +134,78 @@

Determining how many application instance
  • Data should be equally distributed across topic partitions. For example, if two topic partitions each have 1 million messages, this is better than a single partition with 2 million messages and none in the other.
  • Processing workload should be equally distributed across topic partitions. For example, if the time to process messages varies widely, then it is better to spread the processing-intensive messages across partitions rather than storing these messages within the same partition.
  • - - - + +

    Available Listeners and Callbacks

    +

    + Kafka Streams provides several listener and callback APIs that allow applications + to react to lifecycle events, handle errors, and observe state changes. +

    - - - + +
    + From adcac0b30a2261cf4c907ef7df329a800e7bd160 Mon Sep 17 00:00:00 2001 From: samarth-ksolves2024 Date: Wed, 27 Aug 2025 11:48:42 +0530 Subject: [PATCH 2/2] Updated running-app.html file for Available Listeners --- docs/streams/developer-guide/running-app.html | 75 +++++++++++++++++-- 1 file changed, 68 insertions(+), 7 deletions(-) diff --git a/docs/streams/developer-guide/running-app.html b/docs/streams/developer-guide/running-app.html index a6c603f2a3c21..cc79b03869910 100644 --- a/docs/streams/developer-guide/running-app.html +++ b/docs/streams/developer-guide/running-app.html @@ -134,17 +134,78 @@

    Determining how many application instance
  • Data should be equally distributed across topic partitions. For example, if two topic partitions each have 1 million messages, this is better than a single partition with 2 million messages and none in the other.
  • Processing workload should be equally distributed across topic partitions. For example, if the time to process messages varies widely, then it is better to spread the processing-intensive messages across partitions rather than storing these messages within the same partition.
  • - - - + +

    Available Listeners and Callbacks

    +

    + Kafka Streams provides several listener and callback APIs that allow applications + to react to lifecycle events, handle errors, and observe state changes. +

    - - - + +
    +