grav icon indicating copy to clipboard operation
grav copied to clipboard

Kafka Transport should support multiple bootstrap server urls.

Open rnpridgeon opened this issue 2 years ago • 0 comments

Kafka supports listing multiple bootstrap servers, the grav transport should support this as well.

https://pkg.go.dev/github.com/twmb/franz-go/pkg/kgo#SeedBrokers is a variadic function which will take n number strings.

Given this fact it should be as simple as introducing https://pkg.go.dev/strings#Split to https://github.com/suborbital/grav/blob/main/transport/kafka/transport.go#L62

rnpridgeon avatar Apr 04 '22 17:04 rnpridgeon