Skip to content

Instantly share code, notes, and snippets.

@0sc
Created August 22, 2016 22:40
Show Gist options
  • Save 0sc/3cc5d134db9f7c8d422d4e67806dab6d to your computer and use it in GitHub Desktop.
Save 0sc/3cc5d134db9f7c8d422d4e67806dab6d to your computer and use it in GitHub Desktop.
//addresses of available kafka brokers
brokers := []string{'localhost:9201'}
consumer, err := sarama.NewConsumer(brokers, nil)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment