Skip to content

Commit

Permalink
Update load_example
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Roberts committed Feb 27, 2014
1 parent 112158f commit 888f206
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions load_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Producer(threading.Thread):
big_msg = "1" * msg_size

def run(self):
client = KafkaClient("localhost", 9092)
client = KafkaClient("localhost:9092")
producer = SimpleProducer(client)
self.sent = 0

Expand All @@ -25,7 +25,7 @@ class Consumer(threading.Thread):
daemon = True

def run(self):
client = KafkaClient("localhost", 9092)
client = KafkaClient("localhost:9092")
consumer = SimpleConsumer(client, "test-group", "my-topic",
max_buffer_size = None,
)
Expand Down

0 comments on commit 888f206

Please sign in to comment.