Skip to content

Conversation

@BLineBrian
Copy link

Using a custom codec engine is supported for socketcluster clients communicating to worker instances, but there's no way to specify a codec for use between the workers and the broker instances.

There are performance implications here, but in our case the default codec was actually breaking communication with clients.

This is a small change to allow callers to override the codec engine for socketcluster server/worker communication with the broker. For things to work correctly, you also need to specific this same codec on the broker itself.

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