Flume
  1. Flume
  2. FLUME-1452

Source should not submit event to Sink which it doesnot connect to any Sink

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: v1.2.0
    • Fix Version/s: None
    • Component/s: Configuration
    • Labels:

      Description

      If there has Channel (mc) and it does not connect to any Sink, Source shouldn't submit event to it.

      Configuration example:

      #Channels that Source connect to
      agent.sources.scribesource.channels = mc

      #No specified Sink connect to this Channel

      Otherwise, event in this Channel is increasing and no consumer, it's misunderstanding.

        Activity

        Hide
        Hari Shreedharan added a comment -

        Denny - This is built into the architecture. The source need not know about the sink at all. The channel is a buffer to store the events. It is entirely possible to connect a sink to that channel later to retrieve the events from that. I don't think there is anything wrong with the current set up. We can have channels with either a source or a sink or both, but every channel must have at least one - the idea being that you either buffer event in the channel or drain events from it or do both.

        Show
        Hari Shreedharan added a comment - Denny - This is built into the architecture. The source need not know about the sink at all. The channel is a buffer to store the events. It is entirely possible to connect a sink to that channel later to retrieve the events from that. I don't think there is anything wrong with the current set up. We can have channels with either a source or a sink or both, but every channel must have at least one - the idea being that you either buffer event in the channel or drain events from it or do both.
        Hide
        Brock Noland added a comment -
        Show
        Brock Noland added a comment - Dups FLUME-1446

          People

          • Assignee:
            Denny Ye
            Reporter:
            Denny Ye
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development