Skip to content

Conversation

@glbrntt
Copy link
Collaborator

@glbrntt glbrntt commented Jul 24, 2020

Motivation:

Sometimes it's useful to have access to the channel so that additional
handlers can be added for debugging. This currently isn't possible for
the client.

Modifications:

  • Add a debugChannelInitializer to the client configuration and
    builder.
  • Add an example using the NIOExtras PCAP handler. Note: it's
    out-of-source so we don't have to directly depend on NIOExtras.

Result:

  • Users can get .pcaps from their clients

@glbrntt glbrntt added the 🆕 semver/minor Adds new public API. label Jul 24, 2020
@glbrntt glbrntt requested a review from Lukasa July 24, 2020 10:03
Motivation:

Sometimes it's useful to have access to the channel so that additional
handlers can be added for debugging. This currently isn't possible for
the client.

Modifications:

- Add a `debugChannelInitializer` to the client configuration and
  builder.
- Add an example using the NIOExtras PCAP handler. Note: it's
  out-of-source so we don't have to directly depend on NIOExtras.

Result:

- Users can get .pcaps from their clients
@glbrntt glbrntt merged commit 5397772 into grpc:master Jul 24, 2020
@glbrntt glbrntt deleted the gb-debug-init branch July 24, 2020 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🆕 semver/minor Adds new public API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants