You can download all the Pulsar connectors on download page.
The HDFS3 sink connector pulls the messages from Pulsar topics and persists the messages to HDFS files.
The configuration of the HDFS3 sink connector has the following properties.
|A file or a comma-separated list containing the Hadoop file system configuration.
|The HDFS directory where files read from or written to.
|The character encoding for the files.
|The compression code used to compress or de-compress the files on HDFS.
Below are the available options:
|The principal account of Kerberos user used for authentication.
|The full pathname of the Kerberos keytab file used for authentication.
|The prefix of the files created inside the HDFS directory.
The value of topicA result in files named topicA-.
|The extension added to the files written to HDFS.
|The character used to separate records in a text file.
If no value is provided, the contents from all records are concatenated together in one continuous byte array.
|The interval between calls to flush data to HDFS disk in milliseconds.
|The maximum number of records that hold in memory before acking.
Setting this property to 1 makes every record send to disk before the record is acked.
Setting this property to a higher value allows buffering records before flushing them to disk.
Before using the HDFS3 sink connector, you need to create a configuration file through one of the following methods.