项目作者: dwp

项目描述 :
Simple kafka queue trawler that lists records on the queue.
高级语言: Kotlin
项目地址: git://github.com/dwp/kafka-queue-trawler.git
创建时间: 2020-11-16T09:47:36Z
项目社区:https://github.com/dwp/kafka-queue-trawler

开源协议:ISC License

下载


kafka-queue-trawler

Simple kafka queue trawler that lists records on the queue.

After cloning this repo, please run:
make bootstrap

Usage in DataWorks

This is a utility script which can be run if needed in order to discover if a specific record is on a Kafka queue or not. When DataWorks were doing data evaluation work on the Kafka stream, this was very useful to see if we were picking up specific records or not.

It is a Kotlin application which can be run locally.

Configuration

There are two main configuration classes, so set an app properties file locally to run which the following properties set for Kafka:

data class KafkaProperties(var bootstrapServers: String = “”,
var consumerGroup: String = “topic-trawler”,
var useSsl: Boolean = false,
var trustStore: String = “”,
var trustStorePassword: String = “”,
var keyStore: String = “”,
var keyStorePassword: String = “”,
var keyPassword: String = “”,
var initialOffset: Long = 0)