Skip to content

Commit

Permalink
add kafka_integration_test
Browse files Browse the repository at this point in the history
  • Loading branch information
weiye.gong committed Sep 24, 2024
1 parent f055b75 commit 7b1019f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions libbeat/outputs/kafka/kafka_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,18 @@ func TestKafkaPublish(t *testing.T) {
"host": "test-host",
}),
},
{
"publish message with zstd compression to test topic",
map[string]interface{}{
"compression": "zstd",
"version": "2.6.0",
},
testTopic,
randMulti(5, 100, mapstr.M{
"host": "test-host",
"type": "log",
}),
},
}

defaultConfig := map[string]interface{}{
Expand Down

0 comments on commit 7b1019f

Please sign in to comment.