diff --git a/ui/src/kapacitor/components/HandlerOptions.js b/ui/src/kapacitor/components/HandlerOptions.js
index 6149a75e70..0bc907ab4e 100644
--- a/ui/src/kapacitor/components/HandlerOptions.js
+++ b/ui/src/kapacitor/components/HandlerOptions.js
@@ -8,6 +8,7 @@ import {
EmailHandler,
AlertaHandler,
HipchatHandler,
+ KafkaHandler,
OpsgenieHandler,
PagerdutyHandler,
PushoverHandler,
@@ -92,6 +93,15 @@ class HandlerOptions extends Component {
validationError={validationError}
/>
)
+ case 'kafka':
+ return (
+
+ )
case 'opsGenie':
return (
void
+}
+
+const KafkaHandler: SFC = ({selectedHandler, handleModifyHandler}) => (
+
+
+
Parameters for this Alert Handler
+
+
+
+
+
+
+
+)
+
+export default KafkaHandler
diff --git a/ui/src/kapacitor/components/handlers/index.js b/ui/src/kapacitor/components/handlers/index.js
index a6abd0cacd..b7f640ddab 100644
--- a/ui/src/kapacitor/components/handlers/index.js
+++ b/ui/src/kapacitor/components/handlers/index.js
@@ -4,6 +4,7 @@ import ExecHandler from './ExecHandler'
import LogHandler from './LogHandler'
import AlertaHandler from './AlertaHandler'
import HipchatHandler from './HipchatHandler'
+import KafkaHandler from './KafkaHandler'
import OpsgenieHandler from './OpsgenieHandler'
import PagerdutyHandler from './PagerdutyHandler'
import PushoverHandler from './PushoverHandler'
@@ -22,6 +23,7 @@ export {
EmailHandler,
AlertaHandler,
HipchatHandler,
+ KafkaHandler,
OpsgenieHandler,
PagerdutyHandler,
PushoverHandler,
diff --git a/ui/src/kapacitor/constants/index.js b/ui/src/kapacitor/constants/index.js
index e134f29747..c701b134f5 100644
--- a/ui/src/kapacitor/constants/index.js
+++ b/ui/src/kapacitor/constants/index.js
@@ -114,6 +114,7 @@ export const MAP_KEYS_FROM_CONFIG = {
export const ALERTS_FROM_CONFIG = {
alerta: ['environment', 'origin', 'token'], // token = bool
hipChat: ['url', 'room', 'token'], // token = bool
+ kafka: [],
opsGenie: ['api-key', 'teams', 'recipients'], // api-key = bool
opsGenie2: ['api-key', 'teams', 'recipients'], // api-key = bool
pagerDuty: ['service-key'], // service-key = bool
@@ -172,6 +173,7 @@ export const HANDLERS_TO_RULE = {
'service',
],
hipChat: ['room'],
+ kafka: ['cluster', 'topic', 'template'],
opsGenie: ['teams', 'recipients'],
opsGenie2: ['teams', 'recipients'],
pagerDuty: [],