Advertisement
Guest User

Untitled

a guest
Sep 25th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. run the following:
  2. ```
  3. export CONSUMER_GROUP=temp-1
  4. export TOPICS=topic1,topic2
  5. export ADDRS=host1:9092,host2:9092
  6. export NUM_CONSUMERS=<number of concurrent Consumer to run>
  7. go run multi-consumer-example.go
  8. ```
  9.  
  10. You'll find that when NUM_CONSUMERS > 1, things get really weird... tried with 30 initially, lowered to 2 to make the logs less spammy, same issue.
  11.  
  12. Only with NUM_CONSUMERS=1 does everything work
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement