Skip to content

Commit

Permalink
fix: Connect to kafka in localhost
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasfarias committed Nov 8, 2023
1 parent 19b697d commit 37bef65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion posthog/temporal/tests/batch_exports/test_logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class CaptureKafkaProducer(aiokafka.AIOKafkaProducer):
"""A test aiokafka.AIOKafkaProducer that captures calls to send_and_wait."""

def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
super().__init__(bootstrap_servers="localhost:9092")
self.entries = []

async def send(self, topic, value=None, key=None, partition=None, timestamp_ms=None, headers=None):
Expand Down

0 comments on commit 37bef65

Please sign in to comment.