This is a simple example demonstrating how to produce a message to Confluent Cloud then read it back again.
Auto-creation of topics is disabled in Confluent Cloud. You will need to use the ccloud cli to create the go-test-topic topic before running this example.
$ ccloud topic create go-test-topic
The <ccloud bootstrap servers>, <ccloud key> and <ccloud secret> parameters are available via the Confluent Cloud web interface. For more information, refer to the quick-start: