Comments (13)
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.
Version 3.1.0 now available at Maven Central.
from abris.
same problem here
from abris.
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.
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.
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$
- Can you please provide jar of latest code for scala 2.11
- what is the SchemaManager configuration for below paramters
basic.auth.credentials.source
schema.registry.basic.auth.user.info
from abris.
Hi @haribabubonthu if you can share an example of the code you are currently employed, it would be very useful
from abris.
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.
Hi @xavtx1
-
In Databricks first add abris dependency jar
-
Then import za.co.absa.abris.avro.read.confluent.SchemaManager
-
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.
Hello, this could help you to build for 2.11
https://github.com/AbsaOSS/ABRiS/wiki/How-to-cross-compile-Abris
from abris.
Thanks for confirming @haribabubonthu .
from abris.
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.
Hi @xavtx1 and @haribabubonthu , sorry for the late reply, will do it by the end of the day.
from abris.
Related Issues (20)
- from_avro converts `\uFFFD` to a question mark HOT 1
- schema registry being called with http instead of https HOT 2
- Improve code-coverage & add GH check action HOT 1
- Fix JaCoCo CI for PRs from forked repos HOT 1
- update madrapps/jacoco-report
- Detect different schema versions in batch HOT 5
- Revert pull_request action back HOT 3
- TopicNameStrategy issue HOT 1
- Split GitHub actions for tests and test coverage
- Multiple schemas in one topic example HOT 1
- Spark 3.4 Support HOT 13
- malformed records to topic HOT 2
- foreach batch download by schem id HOT 3
- Container exited with a non-zero exit code 137 | Out of memory HOT 5
- Issues running inside Scala notebook on databricks HOT 1
- Fix tests for Spark 3.5.0
- Fix NoSuchMethodException in Spark 3.5.x
- get key from avro message HOT 3
- Compatibility with Spark 3.5 HOT 3
- Version 6.4.0 failing for Spark 3.5.0 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from abris.