Skip to content

Latest commit

 

History

History
 
 

examples

Examples:

consumer_channel_example - Channel based consumer consumer_example - Function & callback based consumer consumer_offset_metadata - Commit offset with metadata

producer_channel_example - Channel based producer producer_example - Function based producer

transactions_example - Showcasing a transactional consume-process-produce application

go-kafkacat - Channel based kafkacat Go clone

oauthbearer_example - Provides unsecured SASL/OAUTHBEARER example

Usage example:

$ cd consumer_example
$ go build   (or 'go install')
$ ./consumer_example    # see usage
$ ./consumer_example mybroker mygroup mytopic