rmoff's random ramblings
about talks

Learning Golang (some rough notes) - S02E00 - Kafka and Go

Published Jul 8, 2020 by in Go, Golang, Kafka at https://rmoff.net/2020/07/08/learning-golang-some-rough-notes-s02e00-kafka-and-go/

With the first leg of my journey with Go done (starting from a very rudimentary base), the next step for me was to bring it into my current area of interest and work - Apache Kafka.

There are several client libraries available. I’m going to use the the Confluent Go client for now, and if I feel the need later on might explore the others. The API docs are comprehensive as are the example code snippets and some showing how to use the Go client with Confluent Cloud.

Here I’m going to try and apply what I’ve learnt so far to the Kafka client and build my understanding of it from the ground up (instead of blindly copy & pasting which is effective but less educational than taking something apart and reassembling it 😎).

📺 More Episodes… 🔗

  • Kafka and Go

    • S02E00 - Kafka and Go

    • S02E01 - My First Kafka Go Producer

    • S02E02 - Adding error handling to the Producer

    • S02E03 - Kafka Go Consumer (Channel-based)

    • S02E04 - Kafka Go Consumer (Function-based)

    • S02E05 - Kafka Go AdminClient

    • S02E06 - Putting the Producer in a function and handling errors in a Go routine

    • S02E07 - Splitting Go code into separate source files and building a binary executable

    • S02E08 - Checking Kafka advertised.listeners with Go

    • S02E09 - Processing chunked responses before EOF is reached

  • Learning Go

    • S01E00 - Background

    • S01E01 - Pointers

    • S01E02 - Slices

    • S01E03 - Maps

    • S01E04 - Function Closures

    • S01E05 - Interfaces

    • S01E06 - Errors

    • S01E07 - Readers

    • S01E08 - Images

    • S01E09 - Concurrency (Channels, Goroutines)

    • S01E10 - Concurrency (Web Crawler)


Robin Moffatt

Robin Moffatt works on the DevRel team at Confluent. He likes writing about himself in the third person, eating good breakfasts, and drinking good beer.

Story logo

© 2025