Open kivagant-ba opened 5 years ago
Hi @kivagrant-ba ! I think the check
<% if i['consumer_groups'] -%>
will have the expected behavior if consumer_groups
is null but it is an empty object in your example.
It will and that is actually the problem. An empty object technically means the same.
I had a conversation with DD support and they explained to me the root cause of the Exception we got in logs:
It turned out that our cookbook settings caused YAML error:
The resulting YAML looks like this:
I feel like for some reason this check doesn't work. Am I wrong?
https://github.com/DataDog/chef-datadog/blob/master/templates/default/kafka_consumer.yaml.erb#L11