Skip to content

Change `Redis.makeDefaultClientBootstrap` to `ClientBootstrap.makeRedisTCPClient`

Nathan Harris requested to merge client-bootstrap into 47-proposal-feedback

Motivation:

During proposal review, feedback was provided that the discoverability of the factory method for building a standard RESP ChannelPipeline was poor outside of documentation.

Modifications:

  • Move Redis.makeDefaultClientBootstrap to ClientBootstrap.makeRedisTCPClient.
  • Move the channelInitializer implementation into a new Channel.addBaseRedisHandlers() instance method.

Result:

Users should have an easier time discovering how to easily create baseline RESP ChannelPipelines.

This contributes to #47 (closed).

Merge request reports