-
Notifications
You must be signed in to change notification settings - Fork 76
Update fluent-bit to v4.0.7. #2071
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
9cf0195
to
8e52693
Compare
Current Status - Fluent-bit
|
2f1d985
to
5373e09
Compare
Dockerfile.windows
Outdated
-DFLB_METRICS=On ` | ||
-DFLB_WASM=Off ` | ||
-DFLB_WAMRC=Off ` | ||
-DFLB_KAFKA=OFF ` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this mean we don't need -DFLB_(IN|OUT)_KAFKA=Off
anymore?
Also, nit: OFF
-> Off
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this mean we don't need -DFLB_(IN|OUT)_KAFKA=Off anymore?
Yes, from the implementation 1 we could remove IN
and OUT
from this list. I didn't remove them to be overly descriptive. I'll remove them to see how it looks.
# Kafka support (library in general)
if(FLB_KAFKA)
if(FLB_IN_KAFKA OR FLB_OUT_KAFKA)
...
...
Footnotes
dockerfiles/compile.go
Outdated
build-essential cmake bison flex file libsystemd-dev \ | ||
devscripts cdbs pkg-config openjdk-${OPENJDK_MAJOR_VERSION}-jdk zip`, | ||
build-essential bison flex file libsystemd-dev \ | ||
devscripts cdbs pkg-config openjdk-${OPENJDK_MAJOR_VERSION}-jdk zip` + installCMake, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't we only need installCMake
for distros that ship < 3.20.0? Bookworm ships 3.25.1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, we should only use installCmake
when we need to. I conflated all Ubuntu/Debian failures to this reason initially. Removed installCmake
. Done!
dockerfiles/compile.go
Outdated
build-essential cmake bison flex file libsystemd-dev tzdata \ | ||
devscripts cdbs pkg-config openjdk-${OPENJDK_MAJOR_VERSION}-jdk zip`, | ||
build-essential bison flex file libsystemd-dev tzdata \ | ||
devscripts cdbs pkg-config openjdk-${OPENJDK_MAJOR_VERSION}-jdk zip` + installCMake, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Likewise, Jammy ships CMake 3.22.1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
dockerfiles/compile.go
Outdated
build-essential cmake bison flex file libsystemd-dev tzdata \ | ||
devscripts cdbs pkg-config openjdk-${OPENJDK_MAJOR_VERSION}-jdk zip debhelper`, | ||
build-essential bison flex file libsystemd-dev tzdata \ | ||
devscripts cdbs pkg-config openjdk-${OPENJDK_MAJOR_VERSION}-jdk zip debhelper` + installCMake, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Noble ships CMake 3.28.3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
dockerfiles/compile.go
Outdated
build-essential cmake bison flex file systemd-dev debhelper libsystemd-dev tzdata \ | ||
devscripts cdbs pkg-config openjdk-${OPENJDK_MAJOR_VERSION}-jdk zip`, | ||
build-essential bison flex file systemd-dev debhelper libsystemd-dev tzdata \ | ||
devscripts cdbs pkg-config openjdk-${OPENJDK_MAJOR_VERSION}-jdk zip` + installCMake, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Plucky ships CMake 3.31.6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
All tests passed. Merging. |
Description
Upgrade fluent-bit submodule from
v3.1.6
tov4.0.7
to bring the following bug fixes :Some details about the upgrade :
Dockerfile.windows
to follow : v4.0.7/dockerfiles/Dockerfile.windows.Grace
period to0s
to avoid any unreliable logs to be sent afterExit_On_Eof
.submodules/go.mod
file to encapsulate any Go code from submodules from the top level module.gcc8
) to buildfluent-bit 4.0.7
.3.20
or higher is required to buildfluent-bit 4.0.7
.DFLB_KAFKA=OFF
is a newly added flag that disables allkafka
libraries which fail to build and are not needed.Related issue
b/443678958
b/446168784
b/446655640
How has this been tested?
Checklist: