cancel
Showing results for 
Search instead for 
Did you mean: 
Community Platform 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

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group