Remove JAXRS/ApacheConnector implementation specific properties from DockerClientConfig#282
Remove JAXRS/ApacheConnector implementation specific properties from DockerClientConfig#282marcuslinke merged 1 commit intomasterfrom
Conversation
DockerClientConfig
|
Looking at the changes, it should be fine. Shouldn't the interface DockerCmdExecFactory contain the methods that were added, meaning: public DockerCmdExecFactory withReadTimeout(Integer readTimeout); I used to create my DockerClient object this way: DockerClient client = DockerClientBuilder.getInstance(config).build(); As of now, I don't really see a clean way to add those parameters. What would be perfect is something like this: DockerClientConfig config = DockerClientConfig.createDefaultConfigBuilder() DockerClientBuilder builder = DockerClientBuilder.getInstance(config); My apologies if I just don't see it like I should, but many thanks for moving forward with this as a pull request. Best regards, Eric |
|
Thanks for your feedback. As all these settings are highly implementation dependent the only way to configure is to do it manually like this: In know this is a bit cumbersome but the main goal is to free |
|
Apologies for the delay, but I still have to rework my old code in order to support the new workflow with the callbacks. I haven't had time yet to do so, but I'll let you know ASAP. Thanks for your support! |
|
@ericfjosne So do you think I should merge into master now? |
Remove JAXRS/ApacheConnector implementation specific properties from DockerClientConfig
|
@ericfjosne Great that it works for you now. FYI: Just released v2.0.0. Thanks for input! |

... so things like readTimeout, connectTimeout, maxTotalConnections, maxPerRouteConnections are configurable via DockerCmdExecFactoryImpl now.