MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / KafkaMatchingBrokerRule

Class KafkaMatchingBrokerRule

src/sql-parser/src/ast/defs/statement.rs:622–627  ·  view source on GitHub ↗

A MATCHING rule inside BROKERS (...) that routes brokers matching a pattern through an AWS PrivateLink tunnel.

Source from the content-addressed store, hash-verified

620/// A MATCHING rule inside BROKERS (...) that routes brokers matching a pattern
621/// through an AWS PrivateLink tunnel.
622pub struct KafkaMatchingBrokerRule<T: AstInfo> {
623 /// Given a broker's host:port, should we use this route?
624 pub pattern: ConnectionRulePattern,
625 /// Route to the broker through this PrivateLink connection.
626 pub tunnel: KafkaBrokerAwsPrivatelink<T>,
627}
628
629#[derive(
630 Debug,

Callers 3

try_into_valueMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected