diff options
author | Jeff Widman <jeff@jeffwidman.com> | 2017-10-06 16:36:57 -0700 |
---|---|---|
committer | Jeff Widman <jeff@jeffwidman.com> | 2017-10-06 23:40:09 -0700 |
commit | ad3d8708e9597ae5ceee26796fe60b7f22bfb08e (patch) | |
tree | 4c958f8dcb1e231455312360483dceeea45c7442 | |
parent | 0e54b123a29c630bae6225bf34e25d4bd2bc6997 (diff) | |
download | kafka-python-expand-metrics-docs.tar.gz |
Use Sphinx warning syntaxexpand-metrics-docs
-rw-r--r-- | kafka/consumer/group.py | 6 | ||||
-rw-r--r-- | kafka/producer/kafka.py | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/kafka/consumer/group.py b/kafka/consumer/group.py index 8ae7be0..a83d5da 100644 --- a/kafka/consumer/group.py +++ b/kafka/consumer/group.py @@ -851,8 +851,10 @@ class KafkaConsumer(six.Iterator): This is ported from the Java Consumer, for details see: https://kafka.apache.org/documentation/#new_consumer_monitoring - Warning: This is an unstable interface. It may change in future - releases without warning.""" + Warning: + This is an unstable interface. It may change in future + releases without warning. + """ if raw: return self._metrics.metrics diff --git a/kafka/producer/kafka.py b/kafka/producer/kafka.py index 2a325ca..de9dcd2 100644 --- a/kafka/producer/kafka.py +++ b/kafka/producer/kafka.py @@ -662,8 +662,10 @@ class KafkaProducer(object): This is ported from the Java Producer, for details see: https://kafka.apache.org/documentation/#producer_monitoring - Warning: This is an unstable interface. It may change in future - releases without warning.""" + Warning: + This is an unstable interface. It may change in future + releases without warning. + """ if raw: return self._metrics.metrics |