Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix soaktest to run without TestConsumer #1868

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions tests/soak/soakclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,11 @@
#

from confluent_kafka import KafkaError, KafkaException, version
from confluent_kafka import Producer
from confluent_kafka import Producer, Consumer
from confluent_kafka.admin import AdminClient, NewTopic
from collections import defaultdict
from builtins import int
from opentelemetry import metrics
from common import TestConsumer
import argparse
import threading
import time
Expand Down Expand Up @@ -447,7 +446,7 @@ def filter_config(conf, filter_out, strip_prefix):
cconf['error_cb'] = self.consumer_error_cb
cconf['on_commit'] = self.consumer_commit_cb
self.logger.info("consumer: using group.id {}".format(cconf['group.id']))
self.consumer = TestConsumer(cconf)
self.consumer = Consumer(cconf)

# Create and start producer thread
self.producer_thread = threading.Thread(target=self.producer_thread_main)
Expand Down