Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions quickwit/quickwit-indexing/src/source/kafka_source.rs
Original file line number Diff line number Diff line change
Expand Up @@ -872,6 +872,8 @@ mod kafka_broker_tests {

fn get_source_config(topic: &str, auto_offset_reset: &str) -> (String, SourceConfig) {
let source_id = append_random_suffix("test-kafka-source--source");
// Setting explicitly ip v4 with `broker.address.family` is required
// because of https://github.com/fede1024/rust-rdkafka/issues/809
let source_config = SourceConfig {
source_id: source_id.clone(),
num_pipelines: NonZeroUsize::MIN,
Expand All @@ -882,6 +884,7 @@ mod kafka_broker_tests {
client_params: json!({
"auto.offset.reset": auto_offset_reset,
"bootstrap.servers": "localhost:9092",
"broker.address.family": "v4",
}),
enable_backfill_mode: true,
}),
Expand Down