Network¶
The network
sink is a socket-based sink that facilitates sending byte data over the network via protocols
such as UDP or TCP. It supports Helm-based auto-configuration.
NetworkStreamSinkConfigurator sinkConfig = new NetworkStreamSinkConfigurator()
.withType(NetworkType.UDP)
.withAddress("127.0.0.1:3000");
sink:
network:
type: udp
address: 10.11.12.13:34567
Properties¶
type
¶
Specifies the network protocol to use Required.
Type: object
Supported values: tcp
, udp
.
address
¶
Sets the target address in the format host:port
.
Required.
Type: object
Fields of address
:
address.host
¶
Type: string
address.port
¶
Type: number
address.hasBracketlessColons
¶
Type: boolean
exceptionHandler
¶
Allows a custom exception handler to process errors during execution.
Type: object
Java dependency management¶
Add this declaration to your dependency management system to access the configuration DSL for this plugin in Java.
<dependency>
<groupId>org.voltdb</groupId>
<artifactId>volt-stream-plugin-network-api</artifactId>
<version>1.4.0</version>
</dependency>
implementation group: 'org.voltdb', name: 'volt-stream-plugin-network-api', version: '1.4.0'