Pre-Submission Checklist

Type Of Change

Checklist:

Description

Hello, I recently did some tests with kamailio's kafka module, with focus on what happens when kafka broker goes down.

First thing I noticed is that kamailio won't start initially if kafka broker is down. Second thing I noticed syslog overflowing with err logs, when kafka broker is down. Third, I noticed that when it starts, kamailio queries topic metadata and waited up to 100 seconds for any answer. I've added modparams for all these three to change behavior. Updated doc for all the new modparams.

I've also updated stats errors counting when exposed cfg functions failed for any reason. And some rework to stats function to accept str* instead of char* topic. Also moved librdkafka's poll() function at the begining of the cfg function logic, so polling happens even when some errors happen with the cfg function.


You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/3951

Commit Summary

File Changes

(144 files)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/pull/3951@github.com>