Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Polling thread: handles all of the API requests and callback executions.

  • Background thread: handles network communication such as heartbeat, coordinator requests, and rebalance flow execution.

  • Communication channels: which are responsible for:

    • RequestEventQueueApplicationEventQueue: sending events to the background thread

    • ResponseEventQueueBackgroundEventQueue: sending events to the polling thread

    • Both queues will be interfaced by the EventHandler interface

We will discuss the strategy for handling event results in the following section. In short, we will use the CompletableFuture API to handle the asynchronous operation between the two threads.    

...

  • The object is frequently accessed by both the polling thread and background thread.
  • The object often requires instaneous response; otherwise, the performance will be heavily impacted
  • Also, please review the rejected proposals section below. I talked about a few ideas that we've had.

Image RemovedImage Added

Important Components

...