cancel
Showing results for 
Search instead for 
Did you mean: 
Community Discussions
Connect with fellow community members to discuss general topics related to the Databricks platform, industry trends, and best practices. Share experiences, ask questions, and foster collaboration within the community.
cancel
Showing results for 
Search instead for 
Did you mean: 

Structured Streaming - Kafka Offset Management

eallain
New Contributor

In my team, we decided to move from spark streaming to structured streaming, mainly cause it says that it's legacy and we want to benefit new features from structured streaming.

However we have an issue with committing offsets.

Previously on spark streaming, we were creating DStream, doing some transformation/action and commiting offsets at the end which was totally fine.

On Structured Streaming, we dont want to rely on spark checkpointing (issues with application upgrade and for example the consumer group used can't be monitored to see if there is lag (cause there's no offset commited on kafka side).

For now, we are using an external tool (Redis)  to store those offsets and start from them in case of application restart but it's not convenient.

Is there a way to use native kafka consumer group commit with structured streaming and restart from that ?

Thanks for your hints!

Erwan

0 REPLIES 0
Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!