Skip to content

"Unblock CI: Update kafka dependency openjdk11 to openjdk17#45381

Closed
khushijain21 wants to merge 45 commits intoelastic:mainfrom
khushijain21:upgradekafka
Closed

"Unblock CI: Update kafka dependency openjdk11 to openjdk17#45381
khushijain21 wants to merge 45 commits intoelastic:mainfrom
khushijain21:upgradekafka

Conversation

@khushijain21
Copy link
Copy Markdown
Contributor

Proposed commit message

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc.

Disruptive User Impact

Author's Checklist

  • [ ]

How to test this PR locally

Related issues

Use cases

Screenshots

Logs

mergify Bot and others added 30 commits June 26, 2025 12:16
(cherry picked from commit 0dd36b9)

Co-authored-by: elastic-vault-github-plugin-prod[bot] <150874479+elastic-vault-github-plugin-prod[bot]@users.noreply.github.com>
Co-authored-by: elasticmachine <infra-root+elasticmachine@elastic.co>
…ic#45079)

* skip TestReceiverDegraded

(cherry picked from commit bdc5991)

Co-authored-by: Vihas Makwana <121151420+VihasMakwana@users.noreply.github.com>
…kflow (elastic#44946) (elastic#45067)

(cherry picked from commit 9e9edd7)

Co-authored-by: Jan Calanog <nejcalanog@gmail.com>
This adds the reflective capture of `mapstr.M` in addition to
`map[string]any` for `[]any`.

(cherry picked from commit 8d191b7)

Co-authored-by: Chris Earle <pickypg@users.noreply.github.com>
…ic#44932) (elastic#45078)

This enables use cases that require resolving the current DNS record,
regardless of the record's TTL or any previously cached values. It is
useful, for example, when monitoring a DNS server or when recorded
events must capture the environment's state at a specific moment.

When a cache is used, the TTL determines the time frame in which an
agent might observe a stale record instead of the current one. This
unpredictability can be undesirable when optimizing for rapid
time-to-intervention.

Disabling the cache has significant throughput implications. The
processing time for a single event will be at least the DNS round-trip
time. For example, if a DNS request takes 1 ms, the maximum serial
throughput is limited to 1000 events/sec. Known use cases for this
feature have low throughput requirements. Throughput can be increased
by deploying multiple, parallel agents.

NOTE: Setting the failure cache TTL to a very low value (e.g., 1ns)
achieves a similar, but imperfect, effect.

NOTE: While the config allows setting a TTL on the success cache, this
option is currently ignored. A future enhancement could honor this
setting (e.g., by using min(configured_ttl, record_ttl)), which would
align with the behavior of other DNS clients.

(cherry picked from commit eee15e7)

Co-authored-by: Michael Bischoff <mjmbischoff@controplex.com>
Co-authored-by: Visha Angelova <91186315+vishaangelova@users.noreply.github.com>
This allows tools to inject the auth parameters via the environment,
which enables usage of dynamically deciding what to use for auth in
OTel mode while still supporting blank values.

(cherry picked from commit 5ae4c37)

Co-authored-by: Chris Earle <pickypg@users.noreply.github.com>
(cherry picked from commit 6798fe5)

Co-authored-by: Shaunak Kashyap <ycombinator@gmail.com>
…astic#45015)" (elastic#45104) (elastic#45120)

This reverts commit 38f6842.

(cherry picked from commit 84c0c70)

Co-authored-by: Chris Earle <pickypg@users.noreply.github.com>
…5116)

* Upgrade node to latest LTS 20

(cherry picked from commit 944ee11)

Co-authored-by: Emilio Alvarez Piñeiro <95703246+emilioalvap@users.noreply.github.com>
…) (elastic#45119)

This drops custom fields that duplicate fields coming from
Metricbeat through OTel in ECS format.

(cherry picked from commit 9866af4)

Co-authored-by: Chris Earle <pickypg@users.noreply.github.com>
…stic#45121) (elastic#45123)

(cherry picked from commit e478cf8)

Co-authored-by: Visha Angelova <91186315+vishaangelova@users.noreply.github.com>
…5073) (elastic#45098)

See elastic#36926. This fix has two components:
- Return an error from `Publish` when the Elasticsearch output gets a 429 (too many requests) from Elasticsearch. This triggers a retry delay and reconnection attempt in the pipeline.
- Break the backoff counters for `Publish` and `Connect` into separate values, so a successful `Connect` call (which for Elasticsearch just means that an empty http GET gave an ok response) doesn't reset the exponential backoff for bulk ingest requests when they are being throttled.

(cherry picked from commit 8b25d5b)

Co-authored-by: Fae Charlton <fae.charlton@elastic.co>
* skip TestReceiverDegraded

* typo

* commit

* replace require.EventuallyWithT

(cherry picked from commit dd5cbac)

Co-authored-by: Vihas Makwana <121151420+VihasMakwana@users.noreply.github.com>
elastic#45141)

(cherry picked from commit 113b5a5)

Co-authored-by: Shaunak Kashyap <ycombinator@gmail.com>
…lastic#45069)

* chore: Update snapshot.yml

Made with ❤️️ by updatecli

* chore: Update snapshot.yml

Made with ❤️️ by updatecli

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Anderson Queiroz <anderson.queiroz@elastic.co>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
…21.0 (elastic#45161)

* mod: update elastic/mito to version v1.21.0 (elastic#45107)

This adds support for:
* custom authentication headers
* AWS v4 request signing helpers

And upgrades the CEL runtime and compiler to v0.25.0.

(cherry picked from commit c15a753)

* remove irrelevant changelog entry

---------

Co-authored-by: Dan Kortschak <dan.kortschak@elastic.co>
(cherry picked from commit 6708dc8)

Co-authored-by: Olga Naydyonock <olga.naidjonoka@elastic.co>
…lastic#45167)

This test is flaking for a while with a high failure rate. We
have an integration test that covers the same scenario added by
elastic#45093. Skip this test for now.

(cherry picked from commit 5069a00)

Co-authored-by: Mauri de Souza Meneguzzo <mauri870@gmail.com>
Made with ❤️️ by updatecli

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
… to v1.35.0/v0.129.0 (elastic#45170)

* [chore] update OTel Collector libraries to v1.35.0/v0.129.0 (elastic#45149)

(cherry picked from commit 0b1170f)

# Conflicts:
#	NOTICE.txt
#	go.mod

* fix conflicts

---------

Co-authored-by: Andrzej Stencel <andrzej.stencel@elastic.co>
elastic#45190)

Solved two issues in the GCP Pub/Sub input tests:

- GCP Pub/Sub Emulator Container Missing: this has been fixed by ensuring
  the Pub/Sub emulator Docker container is properly launched for the test environment.

- Fix for Segfault in NewInput.func2: a segmentation fault occurred when test code
  accessed in.metrics before it was initialized. Metrics are now explicitly initialized
  in the test setup to avoid nil pointer dereferencing.

(cherry picked from commit 5373f23)

Co-authored-by: Chema Martínez <chema.martinez@elastic.co>
… endpoint (elastic#45049) (elastic#45204)

Fetching index summary metricset from `_nodes/stats` endpoint instead of `_stats` so that as indexes are deleted, the summary stats are not effectively lost during the next poll because nodes cache their data. Gaps can still appear in charts if nodes are restarted (as their cache is zeroed out).

(cherry picked from commit 63a537a)

Co-authored-by: filippomachi <filippo.machi@elastic.co>
…) (elastic#45179)

* [chore] bump github.com/prometheus/prometheus to v0.304.1

* make notice

(cherry picked from commit 621c6c3)

# Conflicts:
#	go.mod
#	go.sum

Co-authored-by: Andrzej Stencel <andrzej.stencel@elastic.co>
…lastic#45196)

* chore: Update snapshot.yml

Made with ❤️️ by updatecli

* chore: Update snapshot.yml

Made with ❤️️ by updatecli

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
For some reason the precedence is not correct here :/

(cherry picked from commit 77cd239)

Co-authored-by: Victor Martinez <victormartinezrubio@gmail.com>
…astic#45231)

* Naive first fix

* Fix import order

* Update strings_windows.go

* Update CHANGELOG.next.asciidoc

---------


(cherry picked from commit 6e1d4ea)

Co-authored-by: Altair <AltairQ@users.noreply.github.com>
Co-authored-by: Marc Guasch <marc-gr@users.noreply.github.com>
Made with ❤️️ by updatecli

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…5240)

The otelmap package does not handle struct types properly, the
convertion of a struct results in a string error.

To follow the libbeat behavior, handle struct types the same way, by
serializing to json and back, resulting in a map of keys and values.

(cherry picked from commit 2685f9c)

Co-authored-by: Mauri de Souza Meneguzzo <mauri870@gmail.com>
…board (elastic#45117) (elastic#45250)

Updates the CPU/disk/network metric field names in the "[Metricbeat AWS] EC2 Overview" dashboard.

The "[Metricbeat AWS] EC2 Overview" dashboard that comes with the AWS modules was still using the old metric field names that are no longer in use, resulting in a dashboard with multiple empty visualizations.

Here are the current changes:

| Old                          | New                          | Formatter |
| ---------------------------- | ---------------------------- | --------- |
| `aws.ec2.cpu.total.pct`      | `host.cpu.usage`             | `percent` |
| `aws.ec2.diskio.read.bytes`  | `host.disk.read.bytes`       | `bytes`   |
| `aws.ec2.diskio.write.bytes` | `host.disk.write.bytes`      | `bytes`   |
| `aws.ec2.network.in.bytes`   | `host.network.ingress.bytes` | `bytes`   |
| `aws.ec2.network.out.bytes`  | `host.network.egress.bytes`  | `bytes`   |

---------


(cherry picked from commit b8fb932)

Co-authored-by: Maurizio Branca <maurizio.branca@elastic.co>
Co-authored-by: kaiyan-sheng <kaiyan.sheng@elastic.co>
This includes the 'total' data set size in addition to just the
size in bytes.

(cherry picked from commit d7e07b0)

Co-authored-by: Chris Earle <pickypg@users.noreply.github.com>
github-actions Bot and others added 15 commits July 9, 2025 19:30
Made with ❤️️ by updatecli

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This improves the Version Mismatch error to make it easier to
debug.

(cherry picked from commit 0c330d4)

Co-authored-by: Chris Earle <pickypg@users.noreply.github.com>
…22.0 (elastic#45278)

* mod: update elastic/mito to version v1.22.0 (elastic#45245)

This adds support for:
* v2 optional types: unwrap
* v2 two-variable comprehensions

(cherry picked from commit c8d20e2)

* remove irrelevant changelog entries

---------

Co-authored-by: Dan Kortschak <dan.kortschak@elastic.co>
) (elastic#45259)

* Add base64 encoding option to inline monitors

* Fix linter

* Fix linter

* Remove unused Decode() method

* Fix linter

* Add changelog

(cherry picked from commit 2266395)

Co-authored-by: Emilio Alvarez Piñeiro <95703246+emilioalvap@users.noreply.github.com>
…lastic#45291)

(cherry picked from commit 68600b7)

Co-authored-by: Victor Martinez <victormartinezrubio@gmail.com>
* [kafka] Handle configuration errors

(cherry picked from commit 23f4491)

Co-authored-by: Khushi Jain <khushi.jain@elastic.co>
The take over mode configuration changed format, this commit makes
both formats accepted with no change on how the feature works.

---------




(cherry picked from commit f72b33d)

Co-authored-by: Tiago Queiroz <tiago.queiroz@elastic.co>
Co-authored-by: Anderson Queiroz <me@andersonq.me>
Co-authored-by: Colleen McGinnis <colleen.j.mcginnis@gmail.com>
Co-authored-by: Craig MacKenzie <craig.mackenzie@elastic.co>
Made with ❤️️ by updatecli

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
… metricbeat (elastic#45312)

* [beatreceivers] Introduce otel mode for metricbeat (elastic#45145)
…45321)

(cherry picked from commit 081d9ac)

Co-authored-by: Anderson Queiroz <anderson.queiroz@elastic.co>
Made with ❤️️ by updatecli

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@botelastic botelastic Bot added the needs_team Indicates that the issue/PR needs a Team:* label label Jul 15, 2025
@botelastic
Copy link
Copy Markdown

botelastic Bot commented Jul 15, 2025

This pull request doesn't have a Team:<team> label.

@github-actions
Copy link
Copy Markdown
Contributor

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs_team Indicates that the issue/PR needs a Team:* label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant