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

Kafka client edits #332

Merged
merged 5 commits into from
Mar 8, 2015
Merged

Kafka client edits #332

merged 5 commits into from
Mar 8, 2015

Conversation

dpkp
Copy link
Owner

@dpkp dpkp commented Mar 2, 2015

A few small cleanups to KafkaClient:

  • accept client_id and group_id as string or bytes
  • avoid topic_partition KeyError
  • return empty list from get_partition_ids_for_topic for unknown topics
    to make the return type consistent (always a list)

Dana Powers added 5 commits March 1, 2015 11:04
- rely on KafkaClient to handle client_id string/bytes encoding
- accept either string or bytes for group_id
- convert group_id string to utf-8 bytes internally
@dpkp dpkp mentioned this pull request Mar 2, 2015
dpkp added a commit that referenced this pull request Mar 8, 2015
@dpkp dpkp merged commit 327b734 into dpkp:master Mar 8, 2015
@dpkp dpkp deleted the kafka_client_edits branch June 10, 2015 00:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant