Hosted Metadata Endpoint
This page explains how you can leverage WarpStream's hosted metadata endpoint to administer your WarpStream BYOC clusters from anywhere.
Last updated
Was this helpful?
This page explains how you can leverage WarpStream's hosted metadata endpoint to administer your WarpStream BYOC clusters from anywhere.
Last updated
Was this helpful?
Was this helpful?
SASL_USERNAME=<region>::<virtualCluster>
SASL_PASSWORD=<agentKey>SASL_USERNAME=ap-southeast-1::vci_02e1aa27_5024_695d_819b_dc2d1719959d
SASL_PASSWORD=aks_29c445a02ae375e31c316eab7c69e2f1709b16bdcc044ab3a2489da19ae9239bvar (
virtualCluster = "vci_xxx"
agentKey = "aks_xxx"
region = "xxx" // e.g. "us-east-1"
)
opts := []kgo.Opt{
kgo.SeedBrokers("serverless.warpstream.com:9092"),
kgo.DialTLS(),
kgo.SASL(plain.Auth{
User: fmt.Sprintf("%s::%s", region, virtualCluster),
Pass: agentKey,
}.AsMechanism()),
}
adm, err := kadm.NewOptClient(opts...)