跳到主要内容
版本:2.1.3

Socket

Description

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

提示

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
}
}