[ https://issues.apache.org/jira/browse/BEAM-10017?focusedWorklogId=434101&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-434101 ]
ASF GitHub Bot logged work on BEAM-10017: ----------------------------------------- Author: ASF GitHub Bot Created on: 16/May/20 18:29 Start Date: 16/May/20 18:29 Worklog Time Spent: 10m Work Description: nfisher commented on pull request #11732: URL: https://github.com/apache/beam/pull/11732#issuecomment-629688041 R: @echauchot ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 434101) Time Spent: 40m (was: 0.5h) > Expose SocketOptions timeouts in CassandraIO builder > ---------------------------------------------------- > > Key: BEAM-10017 > URL: https://issues.apache.org/jira/browse/BEAM-10017 > Project: Beam > Issue Type: Improvement > Components: io-java-cassandra > Reporter: Nathan Fisher > Priority: P3 > Time Spent: 40m > Remaining Estimate: 0h > > Currently there are no options to tune the configuration of the CassandraIO > reader/writer. This can be useful for either slow clusters, large queries, or > high latency links. > The intent would be to expose the following configuration elements as setters > on the CassandraIO builder similar to withKeyspace and other methods. > > |{{[SocketOptions|https://docs.datastax.com/en/drivers/java/3.8/com/datastax/driver/core/SocketOptions.html]}}|{{[setConnectTimeoutMillis|https://docs.datastax.com/en/drivers/java/3.8/com/datastax/driver/core/SocketOptions.html#setConnectTimeoutMillis-int-](int > connectTimeoutMillis)}} > Sets the connection timeout in milliseconds.| > |{{[SocketOptions|https://docs.datastax.com/en/drivers/java/3.8/com/datastax/driver/core/SocketOptions.html]}}|{{[setKeepAlive|https://docs.datastax.com/en/drivers/java/3.8/com/datastax/driver/core/SocketOptions.html#setKeepAlive-boolean-](boolean > keepAlive)}} > Sets whether to enable TCP keepalive.| > |{{[SocketOptions|https://docs.datastax.com/en/drivers/java/3.8/com/datastax/driver/core/SocketOptions.html]}}|{{[setReadTimeoutMillis|https://docs.datastax.com/en/drivers/java/3.8/com/datastax/driver/core/SocketOptions.html#setReadTimeoutMillis-int-](int > readTimeoutMillis)}} > Sets the per-host read timeout in milliseconds.| > |{{[SocketOptions|https://docs.datastax.com/en/drivers/java/3.8/com/datastax/driver/core/SocketOptions.html]}}|{{[setReceiveBufferSize|https://docs.datastax.com/en/drivers/java/3.8/com/datastax/driver/core/SocketOptions.html#setReceiveBufferSize-int-](int > receiveBufferSize)}} > Sets a hint to the size of the underlying buffers for incoming network I/O.| > |{{[SocketOptions|https://docs.datastax.com/en/drivers/java/3.8/com/datastax/driver/core/SocketOptions.html]}}|{{[setReuseAddress|https://docs.datastax.com/en/drivers/java/3.8/com/datastax/driver/core/SocketOptions.html#setReuseAddress-boolean-](boolean > reuseAddress)}} > Sets whether to enable reuse-address.| > |{{[SocketOptions|https://docs.datastax.com/en/drivers/java/3.8/com/datastax/driver/core/SocketOptions.html]}}|{{[setSendBufferSize|https://docs.datastax.com/en/drivers/java/3.8/com/datastax/driver/core/SocketOptions.html#setSendBufferSize-int-](int > sendBufferSize)}} > Sets a hint to the size of the underlying buffers for outgoing network I/O.| > |{{[SocketOptions|https://docs.datastax.com/en/drivers/java/3.8/com/datastax/driver/core/SocketOptions.html]}}|{{[setSoLinger|https://docs.datastax.com/en/drivers/java/3.8/com/datastax/driver/core/SocketOptions.html#setSoLinger-int-](int > soLinger)}} > Sets the linger-on-close timeout.| > |{{[SocketOptions|https://docs.datastax.com/en/drivers/java/3.8/com/datastax/driver/core/SocketOptions.html]}}|{{[setTcpNoDelay|https://docs.datastax.com/en/drivers/java/3.8/com/datastax/driver/core/SocketOptions.html#setTcpNoDelay-boolean-](boolean > tcpNoDelay)}} > Sets whether to disable Nagle's algorithm.| -- This message was sent by Atlassian Jira (v8.3.4#803005)