Skip to content

Commit

Permalink
Fixing test for input_kafka
Browse files Browse the repository at this point in the history
  • Loading branch information
g0ne150 committed Apr 3, 2024
1 parent a425df7 commit df34a93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions input_kafka_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func TestInputKafkaRAW(t *testing.T) {
map[string][]int32{"test": {0}},
)

input := NewKafkaInput("", &InputKafkaConfig{
input := NewKafkaInput("-1", &InputKafkaConfig{
consumer: consumer,
Topic: "test",
UseJSON: false,
Expand All @@ -42,7 +42,7 @@ func TestInputKafkaJSON(t *testing.T) {
map[string][]int32{"test": {0}},
)

input := NewKafkaInput("", &InputKafkaConfig{
input := NewKafkaInput("-1", &InputKafkaConfig{
consumer: consumer,
Topic: "test",
UseJSON: true,
Expand Down

0 comments on commit df34a93

Please sign in to comment.