Felicia
is an application that allows your to receive a message from from kafka topics
through HTTP request.
Before you begin, ensure you have met the following requirements:
- You have installed the
java Runtime Environment(JRE)
To run felicia
, follow these steps:
Linux, macOS and Windows:
java -jar /path/to/app.jar
POST /kafka/subscribe
Key | Description |
---|---|
hosts | Kafka hosts (ex: 10.0.20.114:9092 ) |
group_id | Group id for consumer |
topics | Kafka topics you want to subscribe |
login | credentials (optional) |
password | credentials (optional) |
curl --location --request POST 'http://host:port/kafka/subscribe' \
--header 'Content-Type: application/json' \
--header 'hosts: 10.0.20.114:9092' \
--header 'group_id: my-group-id' \
--header 'topics: target-topic' \
--data-raw ''
POST /kafka/find
key | Description |
---|---|
pattern | Any part of message content from topic |
Key | Description |
---|---|
topic | Topic name in which you need to find a message |
timeout | Timeout for search, seconds |
curl --location --request POST 'http://host:port//kafka/find?pattern=id' \
--header 'Content-Type: application/json' \
--header 'topic: target-topic' \
--header 'timeout: 2' \
--data-raw ''