- * Each built HTTP client has its own private connection pool. - */ - @ConfigItem(defaultValue = "50") - public int maxConnections; - - /** - * Whether the client should send an HTTP expect-continue handshake before each request. - */ - @ConfigItem(defaultValue = "true") - public boolean expectContinueEnabled; - - /** - * Whether the idle connections in the connection pool should be closed asynchronously. - *
- * When enabled, connections left idling for longer than `quarkus.dynamodb.sync-client.connection-max-idle-time` will be - * closed. - * This will not close connections currently in use. - */ - @ConfigItem(defaultValue = "true") - public boolean useIdleConnectionReaper; - - /** - * HTTP proxy configuration - */ - @ConfigItem - public HttpClientProxyConfiguration proxy; - - /** - * TLS Managers provider configuration - */ - @ConfigItem - public TlsManagersProviderConfig tlsManagersProvider; - - @ConfigGroup - public static class HttpClientProxyConfiguration { - - /** - * Enable HTTP proxy - */ - @ConfigItem - public boolean enabled; - - /** - * The endpoint of the proxy server that the SDK should connect through. - *
- * Currently, the endpoint is limited to a host and port. Any other URI components will result in an exception being
- * raised.
- */
- @ConfigItem
- public URI endpoint;
-
- /**
- * The username to use when connecting through a proxy.
- */
- @ConfigItem
- public Optional
+ * Used by `URL` and `APACHE` clients
+ */
+ @ConfigItem(defaultValue = "2S")
+ public Duration connectionTimeout;
+
+ /**
+ * The amount of time to wait for data to be transferred over an established, open connection before the connection is
+ * timed
+ * out.
+ *
+ *
+ * Used by `URL` and `APACHE` clients
+ */
+ @ConfigItem(defaultValue = "30S")
+ public Duration socketTimeout;
+
+ /**
+ * Apache HTTP client additional configuration
+ */
+ @ConfigItem(name = ConfigItem.PARENT)
+ public ApacheHttpClientConfig apacheHttp;
+
+ @ConfigGroup
+ public static class ApacheHttpClientConfig {
+
+ /**
+ * The amount of time to wait when acquiring a connection from the pool before giving up and timing out.
+ *
+ *
+ * Used by `APACHE` client only
+ */
+ @ConfigItem(defaultValue = "10S")
+ public Duration connectionAcquisitionTimeout;
+
+ /**
+ * The maximum amount of time that a connection should be allowed to remain open while idle.
+ *
+ *
+ * Used by `APACHE` client only
+ */
+ @ConfigItem(defaultValue = "60S")
+ public Duration connectionMaxIdleTime;
+
+ /**
+ * The maximum amount of time that a connection should be allowed to remain open, regardless of usage frequency.
+ *
+ *
+ * Used by `APACHE` client only
+ */
+ @ConfigItem
+ public Optional
+ * Each built HTTP client has its own private connection pool.
+ *
+ *
+ * Used by `APACHE` client only
+ */
+ @ConfigItem(defaultValue = "50")
+ public int maxConnections;
+
+ /**
+ * Whether the client should send an HTTP expect-continue handshake before each request.
+ *
+ *
+ * Used by `APACHE` client only
+ */
+ @ConfigItem(defaultValue = "true")
+ public boolean expectContinueEnabled;
+
+ /**
+ * Whether the idle connections in the connection pool should be closed asynchronously.
+ *
+ * When enabled, connections left idling for longer than `quarkus.dynamodb.sync-client.connection-max-idle-time` will be
+ * closed.
+ * This will not close connections currently in use.
+ *
+ *
+ * Used by `APACHE` client only
+ */
+ @ConfigItem(defaultValue = "true")
+ public boolean useIdleConnectionReaper;
+
+ /**
+ * HTTP proxy configuration
+ *
+ *
+ * Used by `APACHE` client only
+ */
+ @ConfigItem
+ public HttpClientProxyConfiguration proxy;
+
+ /**
+ * TLS Managers provider configuration
+ *
+ *
+ * Used by `APACHE` client only
+ */
+ @ConfigItem
+ public TlsManagersProviderConfig tlsManagersProvider;
+
+ @ConfigGroup
+ public static class HttpClientProxyConfiguration {
+
+ /**
+ * Enable HTTP proxy
+ *
+ *
+ * Used by `APACHE` client only
+ */
+ @ConfigItem
+ public boolean enabled;
+
+ /**
+ * The endpoint of the proxy server that the SDK should connect through.
+ *
+ * Currently, the endpoint is limited to a host and port. Any other URI components will result in an exception being
+ * raised.
+ *
+ *
+ * Used by `APACHE` client only
+ */
+ @ConfigItem
+ public URI endpoint;
+
+ /**
+ * The username to use when connecting through a proxy.
+ *
+ *
+ * Used by `APACHE` client only
+ */
+ @ConfigItem
+ public Optional
+ * Used by `APACHE` client only
+ */
+ @ConfigItem
+ public Optional
+ * Used by `APACHE` client only
+ */
+ @ConfigItem
+ public Optional
+ * Used by `APACHE` client only
+ */
+ @ConfigItem
+ public Optional
+ * Used by `APACHE` client only
+ */
+ @ConfigItem
+ public Optional
+ * Used by `APACHE` client only
+ */
+ @ConfigItem
+ public List