-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Single producer thread event formation (#285)
## Summary of changes The current event-formation component creates a new thread to produce each outgoing message resulting in the overhead associated with thread for each message. In this PR, the component creates a single persistent thread for producing messages to Kafka, and transfers processed traces from the main thread to this thread via a channel. ## Instruction for review/testing Commentary on the new architecture is welcome. Is this a good change? General code review. Has been tested on simulated and Kafka data.
- Loading branch information
1 parent
10b362d
commit 0f6fd91
Showing
1 changed file
with
67 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters