zilla icon indicating copy to clipboard operation
zilla copied to clipboard

`asyncapi` servers host doesn't get overwritten when an `options.tcp.host` parameter is included

Open vordimous opened this issue 11 months ago • 0 comments

Describe the bug using the asyncapi binding that has an options.tcp.host defined, Zilla still tries to use the host defined from the spec.

To Reproduce Steps to reproduce the behavior:

  1. Use an AsyncAPI example to define Kafka that points to localhost
  2. run zilla in a container because localhost doesn't resolve the same.
  3. overwrite the host value using the zilla.yaml options.tcp.host
  4. Zilla can't connect to Kafka.
  5. update the schema to use the external host
  6. Zilla can connect to Kafka

vordimous avatar Mar 06 '24 21:03 vordimous