Commit 23b579d1 authored by Georgios Ouzounis's avatar Georgios Ouzounis
Browse files

Change kafka topics conflict message

parent b7db7e91
......@@ -48,7 +48,7 @@ export default Ember.Controller.extend({
kafkaOutputTopics: ["batch-output", "stream-output"],
conflictingKafkaTopics: false,
kafkaTopicsValidityReported: false,
kafkaTopicsConflictMessage: "Using the same name for input and output topic will result only in input topic creation!",
kafkaTopicsConflictMessage: "You cannot use the same name for both an input and an output topic!",
actions: {
saveLambdaInstance: function(newLambdaInstance){
......@@ -97,13 +97,13 @@
<style>.tokenfield.form-control { height: auto; }</style>
<div class="row">
<div class="form-group col-sm-6 {{if conflictingKafkaTopics 'has-warning'}}">
<div class="form-group col-sm-6 {{if conflictingKafkaTopics 'has-error'}}">
<label for="kafka_topics">Apache Kafka input topics:</label>
{{kafka-topics topics=kafkaInputTopics id="kafka-input-topics"}}
<span id="helpBlock" class="help-block">Names of Apache Kafka input topics<br>
Default input topic, if no names are given: "input"</span>
<div class="form-group col-sm-6 pull-right {{if conflictingKafkaTopics 'has-warning'}}">
<div class="form-group col-sm-6 pull-right {{if conflictingKafkaTopics 'has-error'}}">
<label for="kafka_topics">Apache Kafka output topics:</label>
{{kafka-topics topics=kafkaOutputTopics id="kafka-output-topics"}}
<span id="helpBlock" class="help-block">Names of Apache Kafka output topics<br>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment