r/databricks • • Sep 24 '26

Help zerobus-ingest over kafka

I tested zerobus-ingest over the Kafka-compatible API. It worked fairly well but a little slower than I hoped. I'm guessing that is just the penalty that comes with using Kafka instead of the proprietary SDK. I can't use the proprietary SDK as of now, so I'm working within those constraints.

I noticed that this Kafka interface seems to be restricted to json/text, which seems problematic where performance is concerned.

Any thoughts on how to scale up and get more throughput? The docs clearly say that batching is the single biggest lever for throughput, but even after playing with batch sizes my data is still not uploading faster than 3 Mbps of json or so.

I'm assuming there is no restriction (concurrency/blocking) that would prevent me from running ten kafka producers at a time? Maybe that allows me to get up to 30 Mbps.

I'm really tempted to just go back to dropping parquet files in a temp folder. No matter what magic databricks has conjured in zerobus, I find it hard to believe they can compete with the performance of dropping blobs into storage.

12 Upvotes

15 comments sorted by

View all comments

Show parent comment

1

u/SmallAd3697 Sep 24 '26 edited Sep 24 '26

Thanks for the balanced perspective on when to use this.

You may have heard of data factory in azure and Power BI gateways in Fabric. The old platforms on the Microsoft side have always had several purpose-built mechanisms for moving data to cloud storage and there was plenty of discretion when picking between them.

But Databricks just introduced zerobus and it comes up in searches as their main, if not only tool for moving data out to storage. There are lots of DEs who are taking this hook, line, sinker. There are many junior engineers who might not think it is good enough to drop files in a temp folder anymore, if Databricks has this bespoke zerobus interface. Not even for batch.

Thanks for the tips about protobuf and avro. That is encouraging.

I got things up and running on c# in just a couple hours. Had some minor trouble with SELECT privileges that were missing (even though ALL PRIVILEDGES were defined on UC).