Get Started With IP2Proxy Kafka Module
Dependencies
This library requires IP2Proxy BIN database to function. You may download the BIN database at
IP2Proxy LITE BIN Data (Free): https://lite.ip2location.com
IP2Proxy Commercial BIN Data (Comprehensive): https://www.ip2location.com
Installation
Download the latest IP2Proxy Java jar file ip2proxy-java-x.y.z.jar from https://search.maven.org/artifact/com.ip2proxy/ip2proxy-java
Download the latest IP2Proxy Kafka jar file ip2proxy-kafka-x.y.z.jar from https://search.maven.org/artifact/com.ip2proxy/ip2proxy-kafka
Copy both jar files into whichever plugin folder your Kafka installation is using.
Download the IP2Proxy BIN database file into the folder of your choice.
Configure your connector properties
This transformation is used to lookup data from a IP2Proxy BIN database file and appending the data into an existing struct.
transforms=insertip2proxy
transforms.insertip2proxy.type=com.ip2proxy.kafka.connect.smt.InsertIP2Proxy$Value
# Set these required values
transforms.insertip2proxy.ip2proxy.bin.path=
transforms.insertip2proxy.ip2proxy.input=
Name |
Description |
---|---|
ip2proxy.bin.path |
The full path to the IP2Proxy BIN database file. |
ip2proxy.input |
The field name in the record containing the IP address to query for proxy data. |
IP2Proxy Sample Database (BIN)
Sample Packages - BIN File | IPv4 + IPv6 |
---|---|
IP2Proxy PX1 | Download (391.66 kB) |
IP2Proxy PX2 | Download (406.53 kB) |
IP2Proxy PX3 | Download (435.82 kB) |
IP2Proxy PX4 | Download (471.49 kB) |
IP2Proxy PX5 | Download (491.37 kB) |
IP2Proxy PX6 | Download (493.92 kB) |
IP2Proxy PX7 | Download (534.57 kB) |
IP2Proxy PX8 | Download (540.70 kB) |
IP2Proxy PX9 | Download (541.56 kB) |
IP2Proxy PX10 | Download (677.91 kB) |
IP2Proxy PX11 | Download (684.40 kB) |
IP2Proxy PX12 | Download (687.12 kB) |