Zerobus Ingest with Kafka compliant API and WITHOUT a callback

DB1To3
Valued Contributor II

Is see that kafka for zerobus is still in beta.  So maybe something will change. Can someone tell me whether they are aware of an authentication handshake with this API that might AVOID the callback?

Here is the python example, which uses a sophisticated bearer-token callback: https://docs.databricks.com/aws/en/ingestion/zerobus-kafka

However, we are using a client runtime and clientside-language that is even MORE primitive than python.  Think of something like COBOL but with a tenth of the customer base.  We need to avoid the callback approach, since that is not possible in our client.  The only thing we can do is call methods like so, on a builder in preparation for the use of a producer:

CURRENT OPTIONS include setProducerOptions on builder:

 

pb:SetClientId("my-test-client").
pb:SetProducerOption("prop-name", "value").

 

Unfortunately the callback that provides the bearer-token is outside of our abilities.  (even if we had requested a bearer token, by way of  the endpoint "/oidc/v1/token")

Here is the description of the kafka compatible client, as-of now.  It seems to clearly indicate that auth is only happening by way of oauthbearer, and my impression is that oauthbearer is only possible via callback.  So I'm in a pretty tight spot.

 

The Kafka-compatible APIs run over TCP with SASL_SSL and the OAUTHBEARER mechanism and implement the producer-side subset of the Kafka protocol, which covers Produce, Metadata, ApiVersions, and the SASL handshake APIs. Consumer, admin, and transactional APIs are not available. The APIs are write-only.

 


Perhaps even a public / unauthenticated mechanism for using the kafka api would be ok as a temporary solution while we are doing P-o-C work ( if such a thing exists?)  We have our databricks and UC assets inside a private vnet.

Any tips would be appreciated.  Without a path forward, we will be forced to relay data from one client runtime to a different client runtime before transmitting it out to zerobus/UC.  And that is worse than the types of solutions we had twenty years ago.  I hope to avoid a regression to a more primitive solution than what we already have.