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

Using KNetCompactedReplicator a System.ArgumentNullException is raised in KNetProducer #219

Closed
masesdevelopers opened this issue Aug 27, 2023 · 1 comment · Fixed by #220
Assignees
Labels
bug Something isn't working KNet KNet related issue

Comments

@masesdevelopers
Copy link
Contributor

Using KNetCompactedReplicator when

private void AddOrUpdate(TKey key, TValue value)

is invoked it raises a System.ArgumentNullException in
public void Produce(KNetProducerRecord<K, V> record, Action<RecordMetadata, JVMBridgeException> action = null)

Originally posted by @masesdevelopers in masesgroup/KEFCore#60 (comment)

@masesdevelopers masesdevelopers changed the title Using KNetCompactedReplicator a System.ArgumentNullExceptionis raised in KNetProducer Using KNetCompactedReplicator a System.ArgumentNullException is raised in KNetProducer Aug 28, 2023
@masesdevelopers masesdevelopers self-assigned this Aug 28, 2023
@masesdevelopers masesdevelopers added bug Something isn't working KNet KNet related issue labels Aug 28, 2023
@masesdevelopers
Copy link
Contributor Author

The problem comes from

because the Dispose shall not be called there: the Callback is an input of the function, in this way it is called twice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working KNet KNet related issue
Projects
None yet
1 participant