Is it possible to send alarms from aodh to kafka?

asked 2019-05-29 08:05:51 -0600

pzk_j gravatar image

I'm currently sending alarms from aodh to some http server. I was wondering if it is possible to send alarms from aodh to kafka? Has anyone tried it?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2019-06-03 02:22:09 -0600

Shaoman Zhang gravatar image

Sure, you may add kafka as a new notifier of aodh.

edit flag offensive delete link more


Thanks for the response.

Can you please elaborate? I've actually tried. I got stuck at due to the fact that kafka was expecting content type to be 'application/vnd.kafka.json.v2+json' and AODH can only send plain 'application/json'.

PS: I am using confluent kafka

pzk_j gravatar imagepzk_j ( 2019-06-11 01:55:10 -0600 )edit

I'm not quite sure about your problem. When publishing metering or event data, convert the data to json format and then publish it to kafka normally.

Shaoman Zhang gravatar imageShaoman Zhang ( 2019-07-22 01:22:44 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2019-05-29 08:05:51 -0600

Seen: 89 times

Last updated: Jun 03 '19