Skip to content

Commit 34416fd

Browse files
authored
[test] ls2ls spec adds heartbeat to keep alive (#17228)
Adds heartbeat-input to the LS to LS integration test config to flush the last batch from PQ
1 parent c95430b commit 34416fd

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

qa/integration/fixtures/logstash_to_logstash_spec.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,15 @@ config:
2222
generator {
2323
count => '<%=options[:generator_count]%>'
2424
}
25+
heartbeat {
26+
interval => 1
27+
message => "heartbeat"
28+
}
29+
}
30+
filter {
31+
if "heartbeat" == [message] {
32+
drop {}
33+
}
2534
}
2635
output {
2736
logstash {

0 commit comments

Comments
 (0)