Configure a Java Producer for Google Cloud’s managed Apache Kafka service (step-by-step)
Service overview → https://goo.gle/4niF19Q
Quickstart (Java) → https://goo.gle/427Apeo
Quickstart (Python) →https://goo.gle/4lY5hVF
Get a Java producer talking to Google Cloud Managed Service for Apache Kafka in this tutorial. We’ll update client.properties (bootstrap URL + security), enable SASL/PLAIN with OAUTHBEARER, use Application Default Credentials (ADC) on Compute Engine/GKE (no passwords!), and add the OAuth login callback handler dependency in Maven - all in a few simple steps. Happy coding!
Chapters
00:00 - Intro (Goal & setup)
00:08 - Java producer overview
00:30 - Change config file
00:57 - Secure the connection (SASL/PLAIN + OAUTHBEARER)
01:11 - Use Application Default Credentials on GCE/GKE
01:23 - Configure OAuth login callback handler
01:38 - Add Maven dependency in pom.xml
02:07 - Build & run on Compute Engine/GKE
02:12 - Next steps & docs
Subscribe to Google Cloud Tech → https://goo.gle/GoogleCloudTech
#GoogleCloud #ApacheKafka #ManagedKafka #CloudOps
Google Cloud Tech
Helping you build what's next with secure infrastructure, developer tools, APIs, data analytics and machine learning....