Configuration
The configuration of the Netty source connector has the following properties.Property
Example
Before using the Netty source connector, you need to create a configuration file through one of the following methods.-
JSON
-
YAML
Usage
The following examples show how to use the Netty source connector with TCP and HTTP.TCP
-
Start Pulsar standalone.
-
Create a configuration file netty-source-config.yaml.
-
Copy the configuration file netty-source-config.yaml to Pulsar server.
-
Download the Netty source connector.
-
Start the Netty source connector.
-
Consume data.
-
Open another terminal window to send data to the Netty source.
-
The following information appears on the consumer terminal window.
HTTP
-
Start Pulsar standalone.
-
Create a configuration file netty-source-config.yaml.
-
Copy the configuration file netty-source-config.yaml to Pulsar server.
-
Download the Netty source connector.
-
Start the Netty source connector.
-
Consume data.
-
Open another terminal window to send data to the Netty source.
-
The following information appears on the consumer terminal window.