Skip to content

Commit 2b8d563

Browse files
authored
Add document for NewTopic and NewPartitions (confluentinc#1101)
* Add document for NewTopic and NewPartitions * group admin api
1 parent 47a08cb commit 2b8d563

File tree

1 file changed

+28
-5
lines changed

1 file changed

+28
-5
lines changed

docs/index.rst

Lines changed: 28 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,21 @@ Supporting classes
4040
- :ref:`TopicPartition <pythonclient_topicpartition>`
4141
- :ref:`ThrottleEvent <pythonclient_throttleevent>`
4242

43-
- :ref:`KafkaError <pythonclient_kafkaerror>`
44-
- :ref:`KafkaException <pythonclient_kafkaexception>`
45-
- :ref:`ConsumeError <pyclient_error_consumer>`
46-
- :ref:`ProduceError <pyclient_error_producer>`
47-
- :ref:`SerializationError <serde_error>`
43+
- Errors
44+
- :ref:`KafkaError <pythonclient_kafkaerror>`
45+
- :ref:`KafkaException <pythonclient_kafkaexception>`
46+
- :ref:`ConsumeError <pyclient_error_consumer>`
47+
- :ref:`ProduceError <pyclient_error_producer>`
48+
- :ref:`SerializationError <serde_error>`
4849
- :ref:`KeySerializationError <serde_error_serializer_key>`
4950
- :ref:`ValueSerializationError <serde_error_serializer_value>`
5051
- :ref:`KeyDeserializationError <serde_error_deserializer_key>`
5152
- :ref:`ValueDeserializationError <serde_error_deserializer_value>`
5253

54+
- Admin API
55+
- :ref:`NewTopic <pyclient_admin_newtopic>`
56+
- :ref:`NewPartitions <pyclient_admin_newpartitions>`
57+
5358
Guide to the :ref:`Transactional Producer API <pythonclient_transactional>`
5459

5560

@@ -66,6 +71,24 @@ AdminClient
6671
.. automodule:: confluent_kafka.admin
6772
:members:
6873

74+
.. _pyclient_admin_newtopic:
75+
76+
**************
77+
NewTopic
78+
**************
79+
80+
.. autoclass:: confluent_kafka.admin.NewTopic
81+
:members:
82+
83+
.. _pyclient_admin_newpartitions:
84+
85+
**************
86+
NewPartitions
87+
**************
88+
89+
.. autoclass:: confluent_kafka.admin.NewPartitions
90+
:members:
91+
6992
.. _pythonclient_consumer:
7093

7194
********

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy