Uploaded image for project: 'Chukwa (retired)'
  1. Chukwa (retired)
  2. CHUKWA-284

division of responsibility between agent and adaptor

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.1.2, 0.2.0
    • 0.3.0
    • Data Collection
    • None

    Description

      The division of responsibility between adaptor and agent for managing offsets, datatypes, and such has gotten quite squirrely. And the comments don't match the code.

      For instance, the adaptors track last offset. This means that checkpoint files include the last byte enqueued to be SENT, rather than the last byte ACKNOWLEDGED. This violates both the spec and the comments.

      I propose that we make the agent responsible for recording offsets and possibly also datatypes. Are there cases where an Adaptor decides on its own what the Datatype is for the chunks it outputs? Or outputs chunks of different Types?

      Attachments

        1. CHUKWA-284.patch
          9 kB
          Ariel Shemaiah Rabkin

        Activity

          People

            asrabkin Ariel Shemaiah Rabkin
            asrabkin Ariel Shemaiah Rabkin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment