Skip to content

Specific AVRO Producer / Callback #6

@PHameete

Description

@PHameete

Currently, the Java Adapter only provides GenericProducers that accept IndexedRecords (most generic AVRO class). For IAdapterCallback interface implementations this holds as well: only IndexRecords are pushed to the callback implementations.

This means that the AVRO objects always need to be casted upon receiving, and that incorrect AVRO objects (that dont correspond to the used schema) can be provided to the producers.

It would be valuable / safe to also have a specific callback interface: that already casts the received records to the correct class. And a specific producer, that only accepts AVRO classes of the corresponding topic.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions