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

Expand metrics docs #1243

Merged
merged 4 commits into from
Oct 8, 2017
Merged

Expand metrics docs #1243

merged 4 commits into from
Oct 8, 2017

Conversation

jeffwidman
Copy link
Collaborator

@jeffwidman jeffwidman commented Oct 6, 2017

I've never taken the time to experiment with them because they weren't documented, so decided to fix that.

There were a number of distinct changes, so I tried to keep them contained within separate commits so we can easily drop any that aren't wanted... probably easiest to review as distinct commits as well.

For example, I'm not sure if the Sphinx warning syntax will show up properly on RTD or not, as I'm not sure how to build the docs locally.

@jeffwidman jeffwidman force-pushed the expand-metrics-docs branch from 65e27da to eeada7e Compare October 7, 2017 00:33
@jeffwidman jeffwidman force-pushed the expand-metrics-docs branch from eeada7e to ad3d870 Compare October 7, 2017 06:40
@@ -8,6 +8,8 @@
import time
import weakref

from ..vendor import six
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed the import style was inconsistent between kafka/producer/kafka.py and kafka/consumer/group.py, not sure why...?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I must have started kafka/consumer/group.py before deciding to use relative imports. I like this style better.

@tvoinarovskyi
Copy link
Collaborator

Great!

@dpkp dpkp merged commit 87e5d16 into master Oct 8, 2017
@tvoinarovskyi tvoinarovskyi deleted the expand-metrics-docs branch October 8, 2017 17:01
88manpreet pushed a commit to Yelp/kafka-python that referenced this pull request Jul 17, 2018
* Expand metrics docstrings
* Document metrics interface in readme
* Use six.iteritems(d) rather than d.items()
* Use Sphinx warning syntax
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.

3 participants