vector
vector copied to clipboard
fix(codecs): Ensure that batches using newline delimited framing end in a newline
Datadog Report
Branch report: jszwedko/add-batch-trailing-newline
Commit report: aa6e9ef
Test service: vector
:x: 6 Failed (0 Known Flaky), 334 Passed, 0 Skipped, 4m 18.73s Total Time
:x: Failed Tests (6)
This report shows up to 5 failed tests.
-
sinks::nats::integration_tests::nats_tls_client_cert_valid-vector- DetailsExpand for error
est failed, but output was not captured -
sinks::nats::integration_tests::nats_tls_jwt_auth_valid-vector- DetailsExpand for error
est failed, but output was not captured -
sinks::nats::integration_tests::nats_tls_valid-vector- DetailsExpand for error
est failed, but output was not captured -
sources::nats::integration_tests::nats_tls_client_cert_valid-vector- DetailsExpand for error
est failed, but output was not captured -
sources::nats::integration_tests::nats_tls_jwt_auth_valid-vector- DetailsExpand for error
est failed, but output was not captured
It does feel a bit strange that this is only coming up now 🤔
Agreed. I think most consumers would handle newline or EOF as the delimiter though so needing the trailing newline may not be a common need. I think it is more "correct" though and less likely to cause weird issues if EOFs aren't handled as delimiters.
Datadog Report
Branch report: jszwedko/add-batch-trailing-newline
Commit report: c7481a8
Test service: vector
:white_check_mark: 0 Failed, 454 Passed, 0 Skipped, 3m 58.45s Total Time