Releases: heetch/hkt
Releases · heetch/hkt
v0.5.1
v0.5.0
v0.4.0
- Add
nonevaluecodec to avoid printing message content
v0.3.0
- Fetch from upstream latest changes #36
- Upgrade dependencies and give support from go v1.15 onwards #41
- New feature: Produce Avro formatted messages #38 #39 #40
Avro formatted messages production
- Using latest version available using
TopicNameStrategyto know the schema subject to use:
# subject: "actors-value"
echo '{"value": {"FirstName": "Ryan"}, "key": "id-42"}' | hkt produce -topic actors -registry http://localhost:8081 -valuecodec avro
- Using latest version available using
TopicRecordNameStrategyto know the schema subject to use:
# subject: "actors-record"
echo '{"value": {"FirstName": "Ryan"}, "key": "id-42"}' | hkt produce -topic actors -registry http://localhost:8081 -valuecodec avro -value-avro-record-name record
- Using schema provided in
-value-avro-schema-fileparameter:
echo '{"value": {"FirstName": "Ryan"}, "key": "id-42"}' | hkt produce -topic actors -registry http://localhost:8081 -valuecodec avro -value-avro-schema-file file.avsc
- Using schema unique identifier provided in
-value-avro-schema-idparameter:
echo '{"value": {"FirstName": "Ryan"}, "key": "id-42"}' | hkt produce -topic actors -registry http://localhost:8081 -valuecodec avro -value-avro-schema-id 100
v0.2.0
v0.1.1
Upgrade dependencies: heetch/avro v0.2.6, golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550 and github.com/frankban/quicktest v1.10.0
v0.1.0
Fix default port behavior
This applies a minor fix to the current release, making port numbers in the kafka broker addresses default to 9092 as previously.
Initial hkt release
Although hkt is forked from kt, it has enough backwardly incompatible changes (not to mention a new name) that we're going to start releases from zero.
Changes to the hkt consume command:
- timestamp and duration support
- key filtering support
- better support for JSON messages
- positional args for topic and offsets
- messages from multiple topics are timestamp-ordered
- removed support for consumer-group consuming
- removed support for
$KT_TOPIC
Changes to other commands:
- removed support for
$KT_TOPIC - remove
-partitionflag fromhkt produce - better partitioner support in
producer - consistent flag for specifying message/key codecs
General changes:
- All round code simplification
- Better system tests