Skip to content

Commit

Permalink
Remove SimpleClient, Producer, Consumer, Unittest (#1196)
Browse files Browse the repository at this point in the history
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`.
  • Loading branch information
jeffwidman authored Oct 11, 2019
1 parent 6d3800c commit 3631bfa
Show file tree
Hide file tree
Showing 53 changed files with 98 additions and 7,392 deletions.
7 changes: 0 additions & 7 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,3 @@ testing, probing, and general experimentation. The protocol support is
leveraged to enable a KafkaClient.check_version() method that
probes a kafka broker and attempts to identify which version it is running
(0.8.0 to 2.3+).

Low-level
*********

Legacy support is maintained for low-level consumer and producer classes,
SimpleConsumer and SimpleProducer. See
<https://kafka-python.readthedocs.io/en/master/simple.html?highlight=SimpleProducer> for API details.
14 changes: 0 additions & 14 deletions docs/apidoc/SimpleProducer.rst

This file was deleted.

46 changes: 0 additions & 46 deletions docs/apidoc/kafka.consumer.rst

This file was deleted.

30 changes: 0 additions & 30 deletions docs/apidoc/kafka.coordinator.assignors.rst

This file was deleted.

45 changes: 0 additions & 45 deletions docs/apidoc/kafka.coordinator.rst

This file was deleted.

38 changes: 0 additions & 38 deletions docs/apidoc/kafka.partitioner.rst

This file was deleted.

38 changes: 0 additions & 38 deletions docs/apidoc/kafka.producer.rst

This file was deleted.

126 changes: 0 additions & 126 deletions docs/apidoc/kafka.protocol.rst

This file was deleted.

Loading

0 comments on commit 3631bfa

Please sign in to comment.