In order to build this locally you will need to download a copy of the GeoLite2 City from MaxMind.
Configuration
MaxMindTransformation
This transformation is used to lookup data from a MaxMind database and append the data to an existing struct.
transforms=maxmindtransformation
transforms.maxmindtransformation.type=com.github.jcustenborder.kafka.connect.transform.maxmind.MaxMindTransformation
# Set these required valuestransforms.maxmindtransformation.field.input=
transforms.maxmindtransformation.maxmind.database.path=
transforms.maxmindtransformation.field.output=
Name
Description
Type
Default
Valid Values
Importance
field.input
The field in the value() of the connect record to read the ip address from.
string
high
field.output
The field in the value() to write the GeoIp Data to. The schema will be appended.
string
high
maxmind.database.path
The path of the database on the local file system.
string
high
maxmind.enable.anonymousip
Flag to determine if the ip should be checked if it's used for anonymous internet access.
boolean
false
medium
maxmind.enable.asn
Flag to determine if the ip should be checked if ASN information should be included.
boolean
false
medium
maxmind.enable.city
Flag to determine if the ip should be checked if city information should be included.
boolean
true
medium
maxmind.enable.connectiontype
Flag to determine if the ip should be checked if connection information should be included.
boolean
false
medium
maxmind.enable.country
Flag to determine if the ip should be checked if country information should be included.
boolean
false
medium
maxmind.enable.domain
Flag to determine if the ip should be checked if domain information should be included.
boolean
false
medium
maxmind.enable.enterprise
Flag to determine if the ip should be checked if enterprise information should be included.
boolean
false
medium
maxmind.enable.isp
Flag to determine if the ip should be checked if ISP information should be included.