kafka-connect-snmp

A Kafka Connect Connector for kafka-connect-snmp

Лицензия

Лицензия

Группа

Группа

com.github.jcustenborder.kafka.connect
Идентификатор

Идентификатор

kafka-connect-snmp
Последняя версия

Последняя версия

0.0.1.9
Дата

Дата

Тип

Тип

tar.gz
Описание

Описание

kafka-connect-snmp
A Kafka Connect Connector for kafka-connect-snmp
Ссылка на сайт

Ссылка на сайт

https://github.com/jcustenborder/kafka-connect-snmp
Система контроля версий

Система контроля версий

https://github.com/jcustenborder/kafka-connect-snmp

Скачать kafka-connect-snmp

Зависимости

compile (5)

Идентификатор библиотеки Тип Версия
org.snmp4j : snmp4j jar 2.5.5
com.fasterxml.jackson.core : jackson-databind jar 2.8.5
org.reflections : reflections jar 0.9.10
com.google.guava : guava jar 18.0
com.github.jcustenborder.kafka.connect : connect-utils jar [0.3.33,0.3.1000)

provided (1)

Идентификатор библиотеки Тип Версия
org.apache.kafka : connect-api jar 1.0.0

test (5)

Идентификатор библиотеки Тип Версия
com.github.jcustenborder.kafka.connect : connect-utils-testing jar [0.3.33,0.3.1000)
org.junit.jupiter : junit-jupiter-engine jar 5.0.0
org.junit.jupiter : junit-jupiter-api jar 5.0.0
org.mockito : mockito-core jar 2.6.3
ch.qos.logback : logback-classic jar 1.1.8

Модули Проекта

Данный проект не имеет модулей.

Introduction

This connector is used to receive data from devices via SNMP. This connector will receive SNMP traps and convert them to a record in Kafka.

Configuration

SnmpTrapSourceConnector

name=MySinkConnector
connector.class=com.github.jcustenborder.kafka.connect.snmp.SnmpTrapSourceConnector
Name Description Type Default Valid Values Importance
topic topic string high
batch.size Number of records to return in a single batch. int 1024 [10,...,2147483647] medium
poll.backoff.ms The amount of time in ms to wait if no records are returned. long 250 [10,...,2147483647] medium
dispatcher.thread.pool.size Number of threads to allocate for the thread pool. int 10 [1,...,100] low
listen.address IP address to listen for messages on. string 0.0.0.0 low
listen.port Port to listen on. int 10161 ValidPort{start=1025, end=65535} low
listen.protocol Protocol to listen with.. string UDP [UDP, TCP] low

Running in development

The docker-compose.yml that is included in this repository is based on the Confluent Platform Docker images. Take a look at the quickstart for the Docker images.

The hostname confluent must be resolvable by your host. You will need to determine the ip address of your docker-machine using docker-machine ip confluent and add this to your /etc/hosts file. For example if docker-machine ip confluent returns 192.168.99.100 add this:

192.168.99.100  confluent
docker-compose up -d

Start the connector with debugging enabled.

./bin/debug.sh

Start the connector with debugging enabled. This will wait for a debugger to attach.

export SUSPEND='y'
./bin/debug.sh

Версии библиотеки

Версия
0.0.1.9
0.0.1.8
0.0.1.6