Camunda 8 Self Managed + Kafka

Hi Team,
I am using Camunda 8 Self Managed environment (docker) and running spring boot application to create zeebe worker. Now I have the use case to publish and consume message in Kafka. Can anyone help on this. If you have any github link for reference, that will be great.

Technical Stack: Camunda 8 (Docker Self Managed Environment), Spring Boot, Zeebe Client

I analyzed bit on this,

  1. GitHub - berndruecker/kafka-camunda-spring-simple: Simple Java Spring Boot example connecting to Confluent Cloud (Kafka) and Camunda Cloud (Zeebe)
  2. GitHub - camunda-community-hub/kafka-connect-zeebe: Kafka Connect for Zeebe.io

I am trying to understand the major benefits and drawback of above 2 technical implementations ?