Skip to content

Commit 6328cd8

Browse files
committed
Speed up producer performance test by setting linger.ms
1 parent 8c6f152 commit 6328cd8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/integration_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,7 @@ def verify_producer_performance(with_dr_cb=True):
315315
""" Time how long it takes to produce and delivery X messages """
316316
conf = {'bootstrap.servers': bootstrap_servers,
317317
'api.version.request': api_version_request,
318+
'linger.ms': 500,
318319
'error_cb': error_cb}
319320

320321
p = confluent_kafka.Producer(**conf)

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