Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-15861

Add the capability to provide a custom serializer to GooglePubSubProducer

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

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.7.0
    • Component/s: camel-google-pubsub
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      GooglePubSubProducer does some conversion of the message body before it gets sent to the destination topic, so that is of the expected ByteString type.

      If the payload is String or byte[], then the conversion is simple. Any other type is serialized via ObjectOutputStream.

      This is problematic for camel-quarkus and native support because JDK serialization via ObjectOutputStream is not supported. Hence, it'd be nice if there was a way to provide a custom serializer that uses an alternate mechanism. E.g one that uses Jackson -> JSON etc.

        Attachments

          Activity

            People

            • Assignee:
              jamesnetherton James Netherton
              Reporter:
              jamesnetherton James Netherton

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment