Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-1220

Avoid double copying in the Kafka spout

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0
    • None
    • None

    Description

      Currently the kafka spout takes a ByteBuffer from Kafka. However, the serialization scheme takes a byte[] array as input. Therefore the current implementation copies the ByteBuffer to a new byte[] array in order to hook everything together.

      This jira proposes to changes the interfaces of serialization scheme to avoid copying the data twice in the spout.

      Attachments

        Activity

          People

            wheat9 Haohui Mai
            wheat9 Haohui Mai
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: