Skip to main content
Version: 2.3.0-beta

Socket

Socket source connector

Description

SocketStream is mainly used to receive Socket data and is used to quickly verify Spark streaming computing.

tip

Engine Supported and plugin name

  • Spark: SocketStream
  • Flink: SocketStream

Options

nametyperequireddefault value
hoststringnolocalhost
portnumberno9999
common-optionsstringyes-

host [string]

socket server hostname

port [number]

socket server port

common options [string]

Source plugin common parameters, please refer to Source Plugin for details

Examples

source {
SocketStream {
port = 9999
}
}