SocketStream

Source plugin : SocketStream [Spark]

Description

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

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
}