-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename KafkaAdmin to KafkaAdminClient
- Loading branch information
1 parent
45196e3
commit fcc800f
Showing
6 changed files
with
26 additions
and
26 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
KafkaAdminClient | ||
=========== | ||
|
||
.. autoclass:: kafka.admin.KafkaAdminClient | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
from __future__ import absolute_import | ||
|
||
from kafka.admin.config_resource import ConfigResource, ConfigResourceType | ||
from kafka.admin.kafka import KafkaAdmin | ||
from kafka.admin.client import KafkaAdminClient | ||
from kafka.admin.new_topic import NewTopic | ||
from kafka.admin.new_partitions import NewPartitions | ||
|
||
__all__ = [ | ||
'ConfigResource', 'ConfigResourceType', 'KafkaAdmin', 'NewTopic', 'NewPartitions' | ||
'ConfigResource', 'ConfigResourceType', 'KafkaAdminClient', 'NewTopic', 'NewPartitions' | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fcc800f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: I had forgotten to rename
docs/apidoc/KafkaAdmin.rst
todocs/apidoc/KafkaAdminClient.rst
and since the commit was only 20 minutes old I just amended and force-pushed, as I thought it unlikely anyone else would have pulled the branch that recently...