@@ -15,8 +15,6 @@ Superstream Clients works as a Python import hook that intercepts Kafka producer
1515
1616## Supported Libraries
1717
18- Works with any Python library that implements Kafka producers, including:
19-
2018- kafka-python
2119- aiokafka
2220- confluent-kafka
@@ -31,7 +29,6 @@ Works with any Python library that implements Kafka producers, including:
3129- ** Dynamic configuration** : Applies optimized settings based on topic-specific recommendations
3230- ** Intelligent optimization** : Identifies the most impactful topics to optimize
3331- ** Graceful fallback** : Falls back to default settings if optimization fails
34- - ** Minimal overhead** : Uses a single lightweight background thread (or async coroutine for aiokafka)
3532
3633## Important: Producer Configuration Requirements
3734
@@ -87,24 +84,7 @@ That's it! Superclient will now automatically load and optimize all Kafka produc
8784
8885## Usage
8986
90- After installation, superclient works automatically. Just use your Kafka clients as usual:
91-
92- ``` python
93- # kafka-python
94- from kafka import KafkaProducer
95- producer = KafkaProducer(bootstrap_servers = ' localhost:9092' )
96- # Automatically optimized!
97-
98- # confluent-kafka
99- from confluent_kafka import Producer
100- producer = Producer({' bootstrap.servers' : ' localhost:9092' })
101- # Automatically optimized!
102-
103- # aiokafka
104- from aiokafka import AIOKafkaProducer
105- producer = AIOKafkaProducer(bootstrap_servers = ' localhost:9092' )
106- # Automatically optimized!
107- ```
87+ After installation, superclient works automatically. Just use your Kafka clients as usual.
10888
10989### Docker Integration
11090
0 commit comments