Cloud Cruiser became HPE Consumption Analytics on Nov. 1st. You'll still see the old name in places while we update this site.

 

 

Consumption Analytics Documentation

Home > Cloud Cruiser 3 > Batch XML Reference > Amazon collectors > AmazonConnectionConfiguration

AmazonConnectionConfiguration

Table of contents
No headers

Configures various optional connection-related properties, such as proxy configuration and connection timeouts.

Class

<bean class=”com.cloudcruiser.batch.collect.amazon.AmazonConnectionConfiguration”>

Properties

<property name="connectionTimeout" value="connectionTimeout
"/>

Sets the amount of time to wait (in milliseconds) when initially establishing a connection before giving up and timing out. A value of 0 means infinity, and is not recommended. The default is 50 seconds (50,000 milliseconds).

<property name="maxConnections" ref="maxConnections
"/>

Sets the maximum number of allowed open HTTP connections. The default is 50.

<property name="maxErrorRetry" value="maxErrorRetry
"/>

Sets the maximum number of retry attempts for failed retryable requests (for example, 5xx error responses from services). The default is 3.

<property name="proxyDomain" ref="proxyDomain
"/>

Sets the optional Windows domain name for configuration an NTML proxy. If you are not using a Windows NTLM proxy, you do not need to set this field.

<property name="proxyHost" value="proxyHost
" />

Sets the optional proxy host the client will connect through.

<property name="proxyPassword" ref="proxyPassword
"/>

Sets the optional proxy password to use when connecting through a proxy.

<property name="proxyPort" value="proxyPort
"/>

Sets the optional proxy port the client will connect through.

<property name="proxyUsername" ref="proxyUsername
"/>

Sets the optional proxy user name to use if connecting through a proxy.

<property name="proxyWorkstation" ref="proxyWorkstation
"/>

Sets the optional Windows workstation name for configuring NTLM proxy support. If you aren't using a Windows NTLM proxy, you do not need to set this field.

<property name="socketSendBufferSizeHint" ref="socketSendBufferSizeHint
"/>

Sets the optional size hints (in bytes) for the low level TCP send buffer. This is an advanced option for advanced users who want to tune low level TCP parameters to try and squeeze out more performance.

<property name="socketReceiveBufferSizeHint" ref="socketReceiveBufferSizeHint
"/>

Sets the optional size hints (in bytes) for the low level TCP receive buffer. This is an advanced option for advanced users who want to tune low level TCP parameters to try and squeeze out more performance.

<property name="socketTimeout" ref="socketTimeout
"/>

Sets the amount of time to wait (in milliseconds) for data to be transfered over an established, open connection before the connection times out and is closed. A value of 0 means infinity, and is not recommended. The default is 50 seconds (50,000 milliseconds).

<property name="userAgent" value="userAgent
"/>

Sets the HTTP user agent header to send with all requests. The default is aws-sdk-< OS name >-< java version >.

Spring Batch XML Example

<bean id="amazonConnectionConfiguration" class="com.cloudcruiser.batch.collect.amazon.AmazonConnectionConfiguration">        
  <property name="maxErrorRetry" value="3"/>
  <property name="proxyHost" value="myproxy.mycompany.com"/>
  <property name="proxyPort" value="80"/>
  <property name="proxyUsername" value="myproxyuser"/>
  <property name="proxyPassword" value="abc123"/>
  <property name="proxyDomain" value="mydomain"/>
  <property name="proxyWorkstation" value="myworkstation"/>
  <property name="maxConnections" value="50"/>
  <property name="socketTimeout" value="50000"/>
  <property name="connectionTimeout" value="50000"/>
  <property name="socketSendBufferSizeHint" value="0"/>
  <property name="socketReceiveBufferSizeHint" value="0"/>
</bean>
Last modified

Tags

This page has no custom tags.

Classifications

This page has no classifications.
© Copyright 2018 Hewlett Packard Enterprise Development LP