Skip to content

Commit 42df1d9

Browse files
committed
Remove SimpleClient, Producer, Consumer, Unittest
In the 2.0 release, we're removing: * `SimpleClient` * `SimpleConsumer` * `SimpleProducer` * Old partitioners used by `SimpleProducer`; these are superceded by the `DefaultPartitioner` These have been deprecated for several years in favor of `KafkaClient` / `KafkaConsumer` / `KafkaProducer`. Since 2.0 allows breaking changes, we are removing the deprecated classes. Additionally, since the only usage of `unittest` was in tests for these old Simple* clients, this also drops `unittest` from the library. All tests now run under `pytest`.
1 parent f1cda98 commit 42df1d9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+98
-7391
lines changed

README.rst

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,3 @@ testing, probing, and general experimentation. The protocol support is
151151
leveraged to enable a KafkaClient.check_version() method that
152152
probes a kafka broker and attempts to identify which version it is running
153153
(0.8.0 to 2.3+).
154-
155-
Low-level
156-
*********
157-
158-
Legacy support is maintained for low-level consumer and producer classes,
159-
SimpleConsumer and SimpleProducer. See
160-
<https://kafka-python.readthedocs.io/en/master/simple.html?highlight=SimpleProducer> for API details.

docs/apidoc/SimpleProducer.rst

Lines changed: 0 additions & 14 deletions
This file was deleted.

docs/apidoc/kafka.consumer.rst

Lines changed: 0 additions & 46 deletions
This file was deleted.

docs/apidoc/kafka.coordinator.assignors.rst

Lines changed: 0 additions & 30 deletions
This file was deleted.

docs/apidoc/kafka.coordinator.rst

Lines changed: 0 additions & 45 deletions
This file was deleted.

docs/apidoc/kafka.partitioner.rst

Lines changed: 0 additions & 38 deletions
This file was deleted.

docs/apidoc/kafka.producer.rst

Lines changed: 0 additions & 38 deletions
This file was deleted.

docs/apidoc/kafka.protocol.rst

Lines changed: 0 additions & 126 deletions
This file was deleted.

0 commit comments

Comments
 (0)