Git Product home page Git Product logo

Comments (5)

sijie avatar sijie commented on July 18, 2024

@artem-garmash thank you for reporting this. Sorry for the late reply! We will take a look at this issue.

from pulsar-io-cloud-storage.

jianyun8023 avatar jianyun8023 commented on July 18, 2024

The error is because we can't get the Message instance, because the Source in Function is not a topic message, but postgresql, and cloud-storage expects to get the PulsarRecord message.

During the run, if I use only Record data and not PulsarRecord data, I will not be able to process Schema. So I need to use Pulsar topic as source.

from pulsar-io-cloud-storage.

jianyun8023 avatar jianyun8023 commented on July 18, 2024

@artem-garmash pulsar-io-cloud-storage needs to use a schema to hold structural information about the data, so it can only use the Pulsar topic as message input. You need to write your records to the topic and then use pulsar-io-cloud-storage to write them out.

There was sensitive information in the log and I removed it.

from pulsar-io-cloud-storage.

artem-garmash avatar artem-garmash commented on July 18, 2024

@jianyun8023, thanks for the reply. My pulsar topic had schema definition as you can see in the bug description. I literally followed README instructions 1:1 to test pulsar-io-cloud-storage but it didn't work.
At the end of my attempts I tried to use jdbc connector with postgres sink instead of pulsar-io-cloud-storage just to verify that my topic/setup worked. And it all worked with jdbc connector, consuming the same pulsar topic.

from pulsar-io-cloud-storage.

freeznet avatar freeznet commented on July 18, 2024

I cannot reproduce this issue with the latest version, so I assume this issue has been resolved in past commits. Feel free to re-open it if there is any more context.

from pulsar-io-cloud-storage.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.