GithubHelp home page GithubHelp logo

Comments (13)

haribabubonthu avatar haribabubonthu commented on June 6, 2024 2

I am able to build for 2.11 and i have added it to databricks.

I am passing below map values

val schemaRegistryConfig1 = Map(
SchemaManager.PARAM_SCHEMA_REGISTRY_URL -> "https://srurl",
SchemaManager.PARAM_SCHEMA_REGISTRY_TOPIC -> "bw-connect.admin.VBPA4.AVRO",
SchemaManager.PARAM_KEY_SCHEMA_NAMING_STRATEGY -> SchemaManager.SchemaStorageNamingStrategies.TOPIC_NAME,
SchemaManager.PARAM_KEY_SCHEMA_ID -> "latest",
"client.basic.auth.credentials.source" -> "USER_INFO",
"client.schema.registry.basic.auth.user.info" -> "srkey:srvalue",
"specific.avro.reader" -> "true"
)

I am able to read deserialized data. Thanks for looking into the issue. Please merge with master branch.

from abris.

felipemmelo avatar felipemmelo commented on June 6, 2024 1

Version 3.1.0 now available at Maven Central.

from abris.

xavtx1 avatar xavtx1 commented on June 6, 2024

same problem here

from abris.

felipemmelo avatar felipemmelo commented on June 6, 2024

Hi guys, sorry for the late reply, I've been OOO this week. Will get into this issue by the beginning of next week.

Cheers.

from abris.

felipemmelo avatar felipemmelo commented on June 6, 2024

Hi @haribabubonthu and @xavtx1 ,

I've just updated Schema Manager to receive all configurations provided. The branch is this. The bit that was changed is here.

Could you please have a look if it solves your problem? If it does, we'll merge it to master and deploy to Maven Central.

Thanks in advance.

from abris.

haribabubonthu avatar haribabubonthu commented on June 6, 2024

Hi @felipemmelo I am trying to create schemaRegistryConfig with below configurations and i am getting below error
val schemaRegistryConfig = Map(
SchemaManager.PARAM_SCHEMA_REGISTRY_URL -> "https://schema-registry-url",
SchemaManager.PARAM_SCHEMA_REGISTRY_TOPIC -> "test.topic"
)

java.lang.NoClassDefFoundError: Could not initialize class za.co.absa.abris.avro.read.confluent.SchemaManager$

  1. Can you please provide jar of latest code for scala 2.11
  2. what is the SchemaManager configuration for below paramters
    basic.auth.credentials.source
    schema.registry.basic.auth.user.info

from abris.

xavtx1 avatar xavtx1 commented on June 6, 2024

Hi @haribabubonthu if you can share an example of the code you are currently employed, it would be very useful

from abris.

haribabubonthu avatar haribabubonthu commented on June 6, 2024

Hi @felipemmelo Is it possible to provide jar for scala 2.11 target??
I am getting errors while making it as package in maven

from abris.

haribabubonthu avatar haribabubonthu commented on June 6, 2024

Hi @xavtx1

  1. In Databricks first add abris dependency jar

  2. Then import za.co.absa.abris.avro.read.confluent.SchemaManager

  3. val schemaRegistryConfig = Map(
    SchemaManager.PARAM_SCHEMA_REGISTRY_URL -> "sr_url",
    SchemaManager.PARAM_SCHEMA_REGISTRY_TOPIC -> "test.topic"
    )

At this point i am getting error. So i am requesting @felipemmelo to provide jar

from abris.

cerveada avatar cerveada commented on June 6, 2024

Hello, this could help you to build for 2.11
https://github.com/AbsaOSS/ABRiS/wiki/How-to-cross-compile-Abris

from abris.

felipemmelo avatar felipemmelo commented on June 6, 2024

Thanks for confirming @haribabubonthu .

from abris.

xavtx1 avatar xavtx1 commented on June 6, 2024

I have also been able to deserialize at least locally, without any problem.
Please you can merge to master and publish the artifact.
Then I will try to do the test from Databricks. At the moment, trying to generate a fat jar, using the same code in Databricks has given authentication error.

from abris.

felipemmelo avatar felipemmelo commented on June 6, 2024

Hi @xavtx1 and @haribabubonthu , sorry for the late reply, will do it by the end of the day.

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.