GithubHelp home page GithubHelp logo

Comments (13)

felipemmelo avatar felipemmelo commented on June 6, 2024

Hi there. For now you're right, we are currently only supporting the value column. The key will be supported in about 2 weeks. You'll come back here as soon as it's committed. Thanks for question.

from abris.

felipemmelo avatar felipemmelo commented on June 6, 2024

Hi there, pinging to let you know that the key column can now be preserved after consuming from Kafka. News about using it to send messages to Kafka are coming soon.

from abris.

felipemmelo avatar felipemmelo commented on June 6, 2024

Hi there, full support now provided for Avro serde on keys an values from Dataframes retrieved from Kafka.

https://github.com/AbsaOSS/ABRiS#writingreading-keys-and-values-as-avro-from-kafka

from abris.

pateusz avatar pateusz commented on June 6, 2024

Thanks. Appreciate it a lot.
One more question. As far as I'm able to read nofluent avro value+plain key. Is it possible to write confluent avro record in such way?

from abris.

felipemmelo avatar felipemmelo commented on June 6, 2024

Do you mean having plain key and Avro payload in Confluent format?

from abris.

pateusz avatar pateusz commented on June 6, 2024

from abris.

felipemmelo avatar felipemmelo commented on June 6, 2024

Not yet, but since you're asking about it we now have a use case. Will add and let you know. Thanks for help.

from abris.

felipemmelo avatar felipemmelo commented on June 6, 2024

Hi @pateusz , pinging to let you know about the plain key feature. You can check more about it here: https://github.com/AbsaOSS/ABRiS#writingreading-values-as-avro-and-plain-keys-as-string-tofrom-kafka

Regards.

from abris.

OneCricketeer avatar OneCricketeer commented on June 6, 2024

Rather than make new methods for each combination of key+value type (for example, say I have avro keys and integer values), what about a UDF that you can just at-will do like

df.select(from_confluent_avro(col("key")), col("value").cast("int"))

Similar to the existing from_json function

from abris.

felipemmelo avatar felipemmelo commented on June 6, 2024

Hi @Cricket007 , sorry for the late reply. Yep, that is definitely coming since Spark itself had these methods added. We'll be updating the whole API to comply with that standard.

from abris.

OneCricketeer avatar OneCricketeer commented on June 6, 2024

@felipemmelo Would you like me to create a new issue for tracking that request?

from abris.

felipemmelo avatar felipemmelo commented on June 6, 2024

Hi @Cricket007 , if you can, please, so that we keep it documented. Thanks a lot!

from abris.

OneCricketeer avatar OneCricketeer commented on June 6, 2024

@felipemmelo Done! #16

from abris.

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.