Skip to content

Commit

Permalink
Refactor producer goroutines somewhat
Browse files Browse the repository at this point in the history
- rename topicDispatcher to dispatcher
- make a topicProducer struct to handle the old partitionDispatcher
- make a partitionProducer struct to handle the old leaderDispatcher
- move and rename methods for a much more readable structure

Part 1 of #300.
  • Loading branch information
eapache committed Jul 7, 2015
1 parent 377669e commit 252b5c5
Showing 1 changed file with 191 additions and 150 deletions.
Loading

0 comments on commit 252b5c5

Please sign in to comment.