Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Resolve Issues in RestKafkaSender and SchemaRetriever #180

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from

Conversation

this-Aditya
Copy link
Member

This PR addresses two key issues:

1. TypeInfo Errors in RestKafkaSender:
The current approach using reflection and generics to set TypeInfo results in errors when using with radar-commons-android. This has been replaced with an implementation based on ParameterizedType, which is error-free.

2. SchemaRetriever Metadata Behavior:
The ContentConverters implementation utilizes SchemaRetriever::metadata, which sends a POST request to the /subject/topic_name endpoint, resulting in a 503 Service Unavailable error.
This behavior was not observed in previous versions, previously, a GET request was sent to the /subject/topic_name-key|value endpoint if that fails, then the POST is used.

These changes have been tested and work seamlessly with RADAR-pRMT. Suggestions for alternative solutions are welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant