fluent-bit icon indicating copy to clipboard operation
fluent-bit copied to clipboard

build: enable in_kafka and out_kafka by default

Open tarruda opened this issue 2 years ago • 6 comments

close #5189

Signed-off-by: Thiago Padilha [email protected]

tarruda avatar Mar 28 '22 13:03 tarruda

@agup006 I've enabled kafka plugins by default, but not on Windows since it causes a build error on CI

tarruda avatar Apr 01 '22 19:04 tarruda

What's the build error?

patrick-stephens avatar Apr 05 '22 22:04 patrick-stephens

What's the build error?

Looks like it doesn't like some of the void* usage: https://ci.appveyor.com/project/fluent/fluent-bit-2e87g/builds/43155542/job/yyye570bjrb67uvg#L2827

patrick-stephens avatar Apr 06 '22 20:04 patrick-stephens

Fixed the issue with windows build, just replacing offsetof by container_of macro took care of windows incompatibility

tarruda avatar Apr 06 '22 22:04 tarruda

FYI: this is blocked until we fix threaded input interface

edsiper avatar May 12 '22 01:05 edsiper

This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.

github-actions[bot] avatar Aug 10 '22 02:08 github-actions[bot]

This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.

github-actions[bot] avatar Nov 10 '22 02:11 github-actions[bot]

@edsiper @fujimotos @koleini @leonardo-albertovich, could we get this reviewed/merged so the next release will have the kafka plugins enabled by default?

Boojapho avatar Apr 25 '23 22:04 Boojapho

Currently there are merge conflicts, @tarruda can you resolve?

patrick-stephens avatar Apr 26 '23 09:04 patrick-stephens

We also need docs to resolve #7269

patrick-stephens avatar Apr 26 '23 09:04 patrick-stephens

@patrick-stephens rebased.

tarruda avatar Apr 26 '23 11:04 tarruda

@tarruda please disable for Windows if it does not compile: https://github.com/fluent/fluent-bit/blob/master/cmake/windows-setup.cmake

patrick-stephens avatar Apr 26 '23 12:04 patrick-stephens

@patrick-stephens rebased and fixed the builds. Couldn't enable by default on windows because the build fails on missing libcrypto, which I assume is a librdkafka dependency.

tarruda avatar Apr 26 '23 17:04 tarruda

These changes are a hard requirement for this PR to be merged.

leonardo-albertovich avatar May 16 '23 14:05 leonardo-albertovich

@leonardo-albertovich it seems the windows-specific cmake is not being applied during CI since appveyor tried to build it. Do you know what I might have missed?

tarruda avatar May 16 '23 16:05 tarruda

@leonardo-albertovich nevermind, it was a typo in windows-setup.cmake. Can you approve again?

tarruda avatar May 16 '23 16:05 tarruda