Icedroid
(Icedroid)
November 3, 2021, 3:11am
1
I have add following code in the file beats/libbeat/kafka/config.go:
if config.EnableIdempotent {
k.Producer.Idempotent = true
k.Net.MaxOpenRequests = 1
k.Producer.RequiredAcks = sarama.WaitForAll
}
Now I don't know How to build a filebeat docker image for me? Who cloud help for me. Thanks very much.
jsoriano
(Jaime Soriano)
November 8, 2021, 9:01am
3
Hey @Icedroid ,
You can build a docker image from source running the following command from the filebeat directory:
PACKAGES="docker" PLATFORMS="linux/amd64" mage package
2 Likes
@jsoriano what would be the parameters for .Deb/.rpm packaging? Is it documented somewhere?
jsoriano
(Jaime Soriano)
November 8, 2021, 1:07pm
5
I couldn't find documentation Package types are defined in beats/pkgtypes.go at 3d19ec04aaf73b20eafb9d5283a43c17543d8b4f · elastic/beats · GitHub
For deb/rm it would be deb
or rpm
, or deb,rpm
for both.
Not setting PACKAGES
builds all the available packages for each selected platform.
1 Like
Icedroid
(Icedroid)
November 10, 2021, 12:29pm
7
Thanks very much. help for me.
system
(system)
Closed
December 8, 2021, 2:30pm
8
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.