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

Not able to serialize interface types (interface {}) not yet supported (use avrogo instead) #1367

Open
5 tasks done
brunodomenici opened this issue Dec 16, 2024 · 2 comments

Comments

@brunodomenici
Copy link

brunodomenici commented Dec 16, 2024

Description

Error when trying to serialize map[string]{interface}: interface types (interface {}) not yet supported (use avrogo instead)

How to reproduce

Trying serialize Avro a type map[string]{interface} using Schema Registry client.
Is there any ETA to implementing this feature?

Thank you

Checklist

Please provide the following information:

  • confluent-kafka-go and librdkafka version (LibraryVersion()): github.com/confluentinc/confluent-kafka-go/v2 v2.6.1
  • Apache Kafka broker version: Confluent Cloud
  • Client configuration: ConfigMap{...}:
         AutoRegisterSchemas = {bool} true
         UseSchemaID = {int} -1
         UseLatestVersion = {bool} false
         UseLatestWithMetadata = {map[string]string} nil
         NormalizeSchemas = {bool} false
         RuleConfig = {map[string]string} nil
  • Operating system: MacOS ARM
  • Provide client logs (with "debug": ".." as necessary)
  • [] Provide broker log excerpts
  • [] Critical issue
@rayokota
Copy link
Member

@brunodomenici , are you using the serdes in avrov2?

@brunodomenici
Copy link
Author

Hello @rayokota ,
No, but I tried with avrov2 and I got: StructToSchema: unknown type interface

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

No branches or pull requests

2 participants