Skip to content

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.

1 participant