Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dekaf: Upstream kafka fallback and per-connection-type routing #1911

Conversation

jshearer
Copy link
Contributor

@jshearer jshearer commented Jan 31, 2025

Description:

As part of #1876, we want to implement broker fallback so Dekaf can connect to any of the brokers in the cluster if one doesn't respond. This adds the ability to pass a list of broker addresses, which Dekaf will try one after another until one picks up.

An improvement here would be to periodically fetch the metadata from at least one of the responding brokers and update this list of addresses so that future sessions can know about/use any newly created members of the cluster. I don't anticipate changing the topology of our cluster that frequently, and if we do then updating Dekaf's deployment configs isn't that big of a deal. I may eat my hat on this, we'll see.

In addition, we want to move people over to the new MSK cluster, so this implements routing new-style connections to a separate cluster with separate credentials.


This change is Reviewable

@jshearer jshearer force-pushed the jshearer/dekaf_multi_upstream_brokers branch from da51ef0 to 36928fd Compare February 4, 2025 21:18
@jshearer jshearer force-pushed the jshearer/dekaf_materialization_endpoint_support branch 2 times, most recently from af74dfa to 8a6b5b0 Compare February 4, 2025 21:31
@jshearer jshearer force-pushed the jshearer/dekaf_multi_upstream_brokers branch from 36928fd to a15d847 Compare February 4, 2025 21:32
@jshearer jshearer force-pushed the jshearer/dekaf_materialization_endpoint_support branch from 8a6b5b0 to 9a9e9c4 Compare February 4, 2025 21:56
@jshearer jshearer force-pushed the jshearer/dekaf_multi_upstream_brokers branch from a15d847 to 440e8a6 Compare February 4, 2025 21:56
… a Session and write them to the correct ops logs journal

Also support filtering logs by the requested shard log level
@jshearer jshearer force-pushed the jshearer/dekaf_materialization_endpoint_support branch from 9a9e9c4 to 3462798 Compare February 6, 2025 17:35
@jshearer jshearer force-pushed the jshearer/dekaf_multi_upstream_brokers branch from 440e8a6 to dc394c4 Compare February 6, 2025 17:36
@jshearer jshearer force-pushed the jshearer/dekaf_materialization_endpoint_support branch from 3462798 to d1c933d Compare February 6, 2025 17:55
Part of dekaf: Improvements to handle higher scale #1876, we want to implement broker fallback so Dekaf can connect to any of the brokers in the cluster if one doesn't respond. An improvement here would be to periodically fetch the metadata from at least one of the responding brokers and update this list of addresses so that future sessions can know about/use any newly created members of the cluster. I don't anticipate changing the topology of our cluster that frequently, and if we do then updating Dekaf's deployment configs isn't that big of a deal. I may eat my hat on this, we'll see.

In addition, we want to move people over to the new MSK cluster, so this implements routing new-style connections to a separate cluster with separate credentials.
@jshearer jshearer force-pushed the jshearer/dekaf_multi_upstream_brokers branch from dc394c4 to 8d847c2 Compare February 6, 2025 17:56
@jshearer jshearer force-pushed the jshearer/dekaf_materialization_endpoint_support branch from d1c933d to 88e456f Compare February 7, 2025 17:33
@jshearer
Copy link
Contributor Author

jshearer commented Feb 7, 2025

Rolling into #1840

@jshearer jshearer closed this Feb 7, 2025
@jshearer jshearer deleted the jshearer/dekaf_multi_upstream_brokers branch February 7, 2025 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant