Skip to content
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

Removing Kafka Cache Bindings Causes grpcurl to Fail with Missing Content-Type Error #1349

Open
ankitk-me opened this issue Dec 11, 2024 · 0 comments
Labels
bug Something isn't working needs_triage Unknowns need to be addressed

Comments

@ankitk-me
Copy link
Contributor

Describe the bug
When attempting to echo a message using the grpcurl client with the grpc-kafka configuration in Zilla, excluding the kafka cache bindings results in an error [malformed header: missing HTTP content-type].

To Reproduce
Steps to reproduce the behavior:

  1. Use zilla-example -> grpc.kafka.echo
  2. Remove cache_client & cache_server from the flow.
  3. Route grpc-kafka exit to kafka_client.
  4. Start the stack using ./setup
  5. Trigger grpcurl command
grpcurl -insecure -proto proto/echo.proto  -d '{"message":"Hello World"}' localhost:7153 grpc.examples.echo.Echo.UnaryEcho
  1. Observe mentioned error
ERROR:
  Code: Unknown
  Message: malformed header: missing HTTP content-type

Expected behavior
Mentioned output for grpcurl command:

{
  "message": "Hello World"
}
@ankitk-me ankitk-me added the bug Something isn't working label Dec 11, 2024
@jfallows jfallows added the needs_triage Unknowns need to be addressed label Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs_triage Unknowns need to be addressed
Projects
None yet
Development

No branches or pull requests

2 participants