-
Notifications
You must be signed in to change notification settings - Fork 70
202 - schema registry validation #204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Integration tests fail on my machine. Tried multiple runs; this came up every time:
and this only during the first run:
|
-e LOG_LEVEL=debug \ | ||
-p 4000:4000 -p 4010:4010 \ | ||
--network kafka_tests_default \ | ||
accenture/reactive-interaction-gateway |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
works okay, however, below there's this:
In terminal you should see something like below
and I don't see this, partly because docker runs the container in detached mode, but even with docker logs -f rig
I don't see the line as described. Does this mean it doesn't work as expected?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure? Just tested it and I can see:
11:05:48.880 [debug] Decoded Avro message="{\"example\":\"test\"}"
application=rig_kafka module=RigKafka.Avro function=decode/2 file=lib/rig_kafka/avro.ex line=29 pid=<0.1935.0>
11:05:48.882 [debug] [:start_object, {:string, "contenttype"}, :colon, {:string, "avro/binary"}, :comma, {:string, "data"}, :colon, :start_object, {:string, "example"}, :colon, {:string, "test"}, :end_object, :comma, {:string, "id"}, :colon, {:string, "069711bf-3946-4661-984f-c667657b8d85"}, :comma, {:string, "rig"}, :colon, :start_object, {:string, "correlation"}, :colon, {:string, "g2dkAA1yaWdAMTI3LjAuMC4xAAAI7AAAAAAB"}, :comma, {:string, "headers"}, :colon, :start_array, :start_array, {:string, "accept"}, :comma, {:string, "*/*"}, :end_array, :comma, :start_array, {:string, "content-length"}, :comma, {:string, "221"}, :end_array, :comma, :start_array, {:string, "content-type"}, :comma, {:string, "application/json"}, :end_array, :comma, :start_array, {:string, "host"}, :comma, {:string, ...}, :end_array, ...]
application=rig module=Rig.EventStream.KafkaToFilter function=kafka_handler/1 file=lib/rig/event_stream/kafka_to_filter.ex line=20 pid=<0.1935.0>
First one fails even on master, it's tracked in #201. Second one can't confirm, but maybe caused by the same thing as first one. |
9e29e97
to
38b455c
Compare
Description
nil
Closes #202
Test
KAFKA_BROKERS
config should raise an error, but not restart the consumer process