Uploaded image for project: 'Commons IO'
  1. Commons IO
  2. IO-446

adds an endOfFileReached method to the TailerListener

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.5
    • Utilities

    Description

      My use case is tailing a log and publishing to a websocket. I found that using the handleLine method resulted in too many messages being published. Using a buffer in my listener and only publishing on endOfFileReached was a really simple solution.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            krosenvold Kristian Rosenvold
            barrusj Jeffrey Barrus
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment