跳到主要内容
版本:2.1.0

Socket

Source plugin : Socket [Flink]

Description

Socket as data source

Options

nametyperequireddefault value
hoststringnolocalhost
portintno9999
common-optionsstringno-

host [string]

socket server hostname

port [int]

socket server port

common options [string]

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

Examples

source {
SocketStream{
result_table_name = "socket"
field_name = "info"
}
}