Skip to content

SerDes creates too many listener instances #448

@masesdevelopers

Description

@masesdevelopers

Describe the bug
Allocation of

public class SerDes<T, TJVMT> : ISerDes<T, TJVMT>
creates too many listener instances

To Reproduce
Steps to reproduce the behavior:

  1. Execute any test program which instantiate the following class
    public class SerDes<T, TJVMT> : ISerDes<T, TJVMT>
  2. On each instantiation the registered listeners in JCOBridge raise

Expected behavior
Since the following

Serde<TJVMT> _KafkaSerde;
Serializer<TJVMT> _KafkaSerializer;
Deserializer<TJVMT> _KafkaDeserializer;
are used to send to the JVM references to serializer interfaces, no listeners shall be activated because .NET shall not react on event.

Screenshots

Desktop (please complete the following information):

  • Version latest

Additional context
N/A

Metadata

Metadata

Labels

.NETPull requests that update .net codeKNetKNet related issuebugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions