Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor client classes with components #5

Open
wglass opened this issue Feb 23, 2016 · 0 comments
Open

Refactor client classes with components #5

wglass opened this issue Feb 23, 2016 · 0 comments

Comments

@wglass
Copy link
Owner

wglass commented Feb 23, 2016

As of right now the client classes are fairly simple and have a simple inheritance chain.

To tack on the option to use 0.9 apis complicates things, and a combo Worker class complicates them
further.

In order to avoid copy pasta the clients should be broken up into components based on functionality.

possible components

  • Grouped by Zoookeeper
  • Grouped by Kafka (the 0.9 group membership apis)
  • Offsets kept in memory with options to use BEGINNING or END or datetime/timedelta
  • Offsets fetched and committed
  • messages produced to a topic (would be used by Producer and Worker)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant