question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ccompat API - compatibility vs compatibilityLevel

See original GitHub issue

Hi first off thanks for this great project.

We encountered some issue, when trying to communicate with the ccompat API (via AKHQ). It seems that there has been some change in the CompatibilityLevelDto.

When the GET config API’s are called, see Conluent API-Doc get–config and get–config-subject, the returned Json must contain the key compatibilityLevel but in fact it contains compatibility instead. The CompatibilityLevelDto seems a bit undecided, because the attribute and getter-method annotations, which specify the actual Json key-attribute, differ. So this seems to be a bug.

But be aware, the confluent API (PUT) for changing the actual compatibility Level expects the key to be compatibility see API doc

I hope, I have read the APIs and the code correctly and am looking forward to your feedback.

Thanks and best regards Rob

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:3
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
EricWittmanncommented, Oct 29, 2020

OK thanks - I’ll take a look and get this fixed.

1reaction
bobrossthepaintercommented, Oct 27, 2020

Hi @EricWittmann , I fear that the change in #867 tackled the problem not quite right. When you take a look at the changes in the lines 51 and 56 of the CompatibilityLevelDto, you can see that the json representation (jackson annotations) is contradicting within the class. For the mentioned confluent API methods compatibilityLevel should be returned, which it isn’t. I also tried using the latest-snapshot build from dockerhub and it didn’t work. Our current solution is that we build the image ourselves with the corrected annotation.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Schema Registry API Reference | Confluent Documentation
A schema should be compatible with the previously registered schema or schemas (if there are any) as per the configured compatibility level.
Read more >
OPENSSL_API_COMPAT expresses an impossible API ...
This should be happening because the value of OPENSSL_API_COMPAT doesn't match anything that's supported by the openssl header you're ...
Read more >
sql server - What is the actual behavior of compatibility level 80?
I just created a new database with compat level 80 in SQL Server 2008 R2. Created a table with a single int column...
Read more >
5 Compatibility and Interoperability - Oracle Help Center
The compatibility level of your database corresponds to the value of the COMPATIBLE initialization parameter. For example, if you set the COMPATIBLE ...
Read more >
Compatibility framework changes (Android 12)
Compatibility framework (Android 12) ... Default State: Enabled for apps that target Android 12 (API level 32) or higher. Starting in Android 12, ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found