-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Build librdkafka on Windows #6095
Conversation
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.
For the most part this lgtm, although I'm really not familiar with Kafka, so I'll leave accepting to someone a bit more well versed. I had a note about comments, but over lgtm. Thanks a lot for shipping this!
Also please check the CI which is failing. |
@flappy-sh you can disregard my comment about xxhash, I've dealt with it here #6101 |
Beware that you have probably mixed a merge with a rebase and now the PR it's including commits that were already merged in master. |
Hello @Smjert , sorry for the delay was on holiday. Regarding the merge and rebase , i am still testing, |
@flappy-sh don't worry, happy to have you back! |
@Smjert okay , testing is almost complete . Now i have to address the merge rebase 'issue' and the headers are published correctly from libzstd as you requested! Let me know if there are more changes(i also have to remove the testing comments) |
4b2c2b7
to
e756aed
Compare
includes old commits like: added comments, updated comments , fixed some whitespace , added submodule , fixed comments , pipeline upgrades 'espase mia solina sto ergostasio' , z std fix try , kafka windows v1.0 golden s.p , osquery with kafka on windows initial commit. builds , added submodule , kafka windows test 'xronia polla spk' , include system , cmake added kafka producer source in windows 'psaxnontas ton mpetoven' , relative path handling , testing cmake pipeline , z std compression fix
3bb5ef5
to
bf10513
Compare
@theopolis @Smjert @alessandrogario @muffins Thank you for the merge ! If you need anything else just ping me. |
@flappy-sh |
Hello @skydmh , this changes were merged to master , you can build the branch and have it available, otherwise you can wait for an official release containing the changes. |
@flappy-sh, @skydmh unfortunately the kafka producer is not actually yet available. @flappy-sh: You can see this here osquery/plugins/logger/CMakeLists.txt Lines 148 to 171 in 9e116e5
The real target is only created if it's Linux or macOS. Yesterday I quickly tried removing that if, but there are link errors with missing symbols. The relative issue is still opened here #5678 |
@flappy-sh |
Hi @skydmh , as as mentioned before please take a look at the code otherwise you can wait for an official release containing the changes. |
@flappy-sh Could you let me know the estimated time of the official release containing the changes |
@flappy-sh I'm sorry if I wasn't clear, this PR is present in the latest osquery release, 4.3.0, but it doesn't implement the kafka producer for Windows. |
@Smjert About that , my mindmap of dependency's to enable it is a little hazy , but when i pushed that branch at that point of time it talked and shipped data (windows server 2016 cpu query's) to a kafka cluster (running on linux farm) so from my point of view the branch was ready (especially after the linker collision patch), for the fact why now it doesn't compile i really cant say . I only coded it ... |
The PR will be reviewed by an osquery committer.
Here are some common things we look for:
make format_check
../osquery/utils
are used where appropriate (avoid reinventions).return (int)my_var
, instead usestatic_cast
.Status
andLOG(N)
messages do not use punctuation or contractions.-->
Hi, this PR implements the #5678 . Let me know if there are more any additional changes required.