Skip to content

Conversation

@biuboombiuboom
Copy link
Contributor

feat(kafka source): Use msg.payload_len() to initialize FramedRead

@biuboombiuboom biuboombiuboom requested a review from a team as a code owner May 20, 2024 13:17
@bits-bot
Copy link

bits-bot commented May 20, 2024

CLA assistant check
All committers have signed the CLA.

@github-actions github-actions bot added the domain: sources Anything related to the Vector's sources label May 20, 2024
Copy link
Member

@jszwedko jszwedko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good call, thanks @biuboombiuboom . I just left one comment regarding the changelog. Otherwise it looks good!

Signed-off-by: biuboombiuboom <youcx2010@gmail.com>
Signed-off-by: biuboombiuboom <youcx2010@gmail.com>
@jszwedko jszwedko enabled auto-merge May 22, 2024 13:21
Signed-off-by: biuboombiuboom <youcx2010@gmail.com>
auto-merge was automatically disabled May 22, 2024 14:40

Head branch was pushed to by a user without write access

@jszwedko jszwedko enabled auto-merge May 22, 2024 14:58
Signed-off-by: biuboombiuboom <youcx2010@gmail.com>
auto-merge was automatically disabled May 23, 2024 02:08

Head branch was pushed to by a user without write access

@biuboombiuboom biuboombiuboom requested a review from jszwedko May 23, 2024 12:19
@jszwedko jszwedko enabled auto-merge May 23, 2024 14:08
@jszwedko jszwedko added this pull request to the merge queue May 23, 2024
@github-actions
Copy link

Regression Detector Results

Run ID: 07a82c42-338c-4ef8-b82b-91be3c853fc8
Baseline: 4cc1ecf
Comparison: f5abce9
Total CPUs: 7

Performance changes are noted in the perf column of each table:

  • ✅ = significantly better comparison variant performance
  • ❌ = significantly worse comparison variant performance
  • ➖ = no significant change in performance

No significant changes in experiment optimization goals

Confidence level: 90.00%
Effect size tolerance: |Δ mean %| ≥ 5.00%

There were no significant changes in experiment optimization goals at this confidence level and effect size tolerance.

Fine details of change detection per experiment

perf experiment goal Δ mean % Δ mean % CI
http_elasticsearch ingress throughput +0.33 [+0.26, +0.41]
http_to_http_noack ingress throughput +0.21 [+0.12, +0.30]
fluent_elasticsearch ingress throughput +0.19 [-0.29, +0.67]
http_to_http_json ingress throughput +0.05 [-0.03, +0.13]
splunk_hec_indexer_ack_blackhole ingress throughput +0.00 [-0.15, +0.15]
splunk_hec_to_splunk_hec_logs_acks ingress throughput -0.00 [-0.15, +0.14]
http_to_s3 ingress throughput -0.03 [-0.31, +0.25]
splunk_hec_to_splunk_hec_logs_noack ingress throughput -0.04 [-0.16, +0.07]
enterprise_http_to_http ingress throughput -0.12 [-0.20, -0.05]
datadog_agent_remap_datadog_logs ingress throughput -0.20 [-0.31, -0.10]
http_text_to_http_json ingress throughput -0.22 [-0.34, -0.10]
syslog_loki ingress throughput -0.35 [-0.40, -0.30]
splunk_hec_route_s3 ingress throughput -0.38 [-0.84, +0.07]
otlp_grpc_to_blackhole ingress throughput -0.45 [-0.54, -0.36]
http_to_http_acks ingress throughput -0.56 [-1.91, +0.78]
syslog_humio_logs ingress throughput -0.62 [-0.72, -0.52]
otlp_http_to_blackhole ingress throughput -0.89 [-1.00, -0.78]
datadog_agent_remap_datadog_logs_acks ingress throughput -1.02 [-1.10, -0.95]
syslog_log2metric_splunk_hec_metrics ingress throughput -1.03 [-1.17, -0.89]
datadog_agent_remap_blackhole_acks ingress throughput -1.13 [-1.21, -1.04]
syslog_log2metric_tag_cardinality_limit_blackhole ingress throughput -1.26 [-1.38, -1.13]
datadog_agent_remap_blackhole ingress throughput -1.26 [-1.36, -1.16]
socket_to_socket_blackhole ingress throughput -1.94 [-2.01, -1.88]
syslog_log2metric_humio_metrics ingress throughput -2.11 [-2.22, -2.00]
syslog_regex_logs2metric_ddmetrics ingress throughput -2.21 [-2.31, -2.11]
file_to_blackhole egress throughput -2.24 [-4.78, +0.30]
syslog_splunk_hec_logs ingress throughput -2.26 [-2.32, -2.20]

Explanation

A regression test is an A/B test of target performance in a repeatable rig, where "performance" is measured as "comparison variant minus baseline variant" for an optimization goal (e.g., ingress throughput). Due to intrinsic variability in measuring that goal, we can only estimate its mean value for each experiment; we report uncertainty in that value as a 90.00% confidence interval denoted "Δ mean % CI".

For each experiment, we decide whether a change in performance is a "regression" -- a change worth investigating further -- if all of the following criteria are true:

  1. Its estimated |Δ mean %| ≥ 5.00%, indicating the change is big enough to merit a closer look.

  2. Its 90.00% confidence interval "Δ mean % CI" does not contain zero, indicating that if our statistical model is accurate, there is at least a 90.00% chance there is a difference in performance between baseline and comparison variants.

  3. Its configuration does not mark it "erratic".

Merged via the queue into vectordotdev:master with commit f5abce9 May 23, 2024
@biuboombiuboom biuboombiuboom deleted the kafka_source branch May 23, 2024 16:25
paomian pushed a commit to paomian/vector that referenced this pull request Jun 12, 2024
vectordotdev#20529)

* feat(kafka source): use `msg.payload_len()` to initialize `FramedRead`

Signed-off-by: biuboombiuboom <youcx2010@gmail.com>

* chore(kafka source): update kafka source change log

Signed-off-by: biuboombiuboom <youcx2010@gmail.com>

* Update changelog.d/kafka-source-parse_message.feat.md

Co-authored-by: Jesse Szwedko <jesse@szwedko.me>

* update changelog file fragment type

Signed-off-by: biuboombiuboom <youcx2010@gmail.com>

* add new line to kafka-source-parse_message.feature.md

Signed-off-by: biuboombiuboom <youcx2010@gmail.com>

* Update kafka-source-parse_message.feature.md

add new line to end

---------

Signed-off-by: biuboombiuboom <youcx2010@gmail.com>
Co-authored-by: Jesse Szwedko <jesse@szwedko.me>
AndrooTheChen pushed a commit to discord/vector that referenced this pull request Sep 23, 2024
vectordotdev#20529)

* feat(kafka source): use `msg.payload_len()` to initialize `FramedRead`

Signed-off-by: biuboombiuboom <youcx2010@gmail.com>

* chore(kafka source): update kafka source change log

Signed-off-by: biuboombiuboom <youcx2010@gmail.com>

* Update changelog.d/kafka-source-parse_message.feat.md

Co-authored-by: Jesse Szwedko <jesse@szwedko.me>

* update changelog file fragment type

Signed-off-by: biuboombiuboom <youcx2010@gmail.com>

* add new line to kafka-source-parse_message.feature.md

Signed-off-by: biuboombiuboom <youcx2010@gmail.com>

* Update kafka-source-parse_message.feature.md

add new line to end

---------

Signed-off-by: biuboombiuboom <youcx2010@gmail.com>
Co-authored-by: Jesse Szwedko <jesse@szwedko.me>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

domain: sources Anything related to the Vector's sources

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants