chore:reva bump v.2.33 (#884)
This commit is contained in:
+6
-1
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user