Uploaded image for project: 'Samza'
  1. Samza
  2. SAMZA-2777

Add support for GenericFixed to AzureBlobAvroWriter

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

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      Add support for avro type GenericFixed to AzureBlobAvroWriter.write(). This will allow the caller to provide both Schema and an encoded message when sending messages to the SystemProducer. This types avoids the message encoding required by IndexedRecord and still provides the Schema to the writer instance.

      The existing AzureBlobAvroWriter allows either an IndexedRecord or a byte[], but requires that the first message is always an IndexedRecord. The existing writer uses the first message to "set" the Schema, }}subsequent messages can be {{{}byte[]s. This requires the sender be aware of the writer's internal state and how it's state is changed by flush() and close(). The writer can use the GenericFixed to "set" the Schema since the Schema is provided by the common parent type GenericContainer

       

      Avro reference:

      Attachments

        Activity

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

          People

            Unassigned Unassigned
            atoomula Aditya Toomula

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m

                Slack

                  Issue deployment