chore:reva bump v.2.33 (#884)

This commit is contained in:
Viktor Scharf
2025-05-19 16:39:56 +02:00
committed by GitHub
parent bf9e80a335
commit 13049b7b9d
24 changed files with 241 additions and 183 deletions
+6 -1
View File
@@ -108,7 +108,7 @@ if err := conn.Close(); err != nil {
```
### To Create Topics
By default kafka has the `auto.create.topics.enable='true'` (`KAFKA_AUTO_CREATE_TOPICS_ENABLE='true'` in the wurstmeister/kafka kafka docker image). If this value is set to `'true'` then topics will be created as a side effect of `kafka.DialLeader` like so:
By default kafka has the `auto.create.topics.enable='true'` (`KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE='true'` in the bitnami/kafka kafka docker image). If this value is set to `'true'` then topics will be created as a side effect of `kafka.DialLeader` like so:
```go
// to create topics when auto.create.topics.enable='true'
conn, err := kafka.DialLeader(context.Background(), "tcp", "localhost:9092", "my-topic", 0)
@@ -797,3 +797,8 @@ KAFKA_VERSION=2.3.1 \
KAFKA_SKIP_NETTEST=1 \
go test -race ./...
```
(or) to clean up the cached test results and run tests:
```
go clean -cache && make test
```