跳到主要内容
版本:2.1.2

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: Socket

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

socketStream {
port = 9999
}