Repository navigation
java: note that fluent-logger-java is not maintained and add Fluency - #734
Closed
NopeCharon wants to merge 1 commit into
Closed
NopeCharon wants to merge 1 commit into
NopeCharon wants to merge 1 commit into
Conversation
fluent-logger-java has not been updated since 2019, and the Fluentd maintainers answered in fluent/fluent-logger-java#99 that its maintenance has stalled and that Fluency may be recommended instead. The Java article still presented it as the way to send records from Java without any note. Add a warning about this at the top of the article, and a section that shows how to send records with Fluency: the Maven dependencies, a sample application, and that Fluency#close must be called to flush the buffered records. Keep the fluent-logger-java section for existing users. Update the description of the page in llms.txt accordingly. Fixes fluent#482 Signed-off-by: NopeCharon <115794254+NopeCharon@users.noreply.github.com>
👷 Deploy request for fluentd-docs pending review.Visit the deploys page to approve it
|
Contributor
|
Thank you for the PR and the detailed write-up. Before we change the docs, we'd like the fluent-logger-java repository itself to state its status, as we did for fluent-plugin-splunk in fluent/fluent-plugin-splunk@32f8ba3. Its README has no such notice yet. That is only because we haven't had time for it. The docs should follow the repository, not the other way around. So I'm closing this PR without merging. We will add a notice to the fluent-logger-java README first, and then update this page. #482 stays open to track the docs change. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Java article presents
fluent-logger-javaas the way to send records from Java, with no warning. The library hasn't been updated since 2019. In fluent/fluent-logger-java#99 the maintainers said that its maintenance has stalled and that Fluency may be recommended instead, as was also suggested in #482.This PR:
fluent-logger-javais not actively maintained, links to Is this library still maintained? fluent-logger-java#99, and suggests Fluency for new applications.fluency-coreandfluency-fluentd) and a sample application. The sample sends a record to theforwardinput configured earlier in the article. The section notes thatFluency#emitbuffers the record, soFluency#closemust be called to flush it, and thatemitthrowsBufferFullExceptionwhen the buffer is full.fluent-logger-javaJava 7.fluent-logger-javasection for existing users.llms.txtto match.The sample uses the API described in the Fluency README (
FluencyBuilderForFluentd#build(),Fluency#emit(String, Map),Fluency#close()).Fixes #482