There are more AWS SDK examples available in the AWS Doc SDK Examples
Code examples for Amazon MSK using AWS SDKs
The following code examples show you how to use Amazon Managed Streaming for Apache Kafka with an AWS software development kit (SDK).
More resources
Amazon MSK Developer Guide – More information about Amazon MSK.
Amazon MSK API Reference – Details about all available Amazon MSK actions.
AWS Developer Center
– Code examples that you can filter by category or full-text search. AWS SDK Examples
– GitHub repo with complete code in preferred languages. Includes instructions for setting up and running the code.