Skip to content

Commit b5827cb

Browse files
authored
Merge pull request #77 from Landoop/fix-for-sing-kafka-1.1
Fix for Sink connectors valiation for kafka 1.1
2 parents 7681e0d + c4feb46 commit b5827cb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/kafka-connect/create-connector/create-connector.controller.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,9 @@ angularAPP.controller('CreateConnectorCtrl', function ($scope, $rootScope, $http
191191
headers: {'Content-Type': 'application/json', 'Accept': 'application/json'}
192192
};
193193

194+
if(connector.type === 'Sink'){
195+
request.data = '{ "connector.class" : "' + pluginClass + '", "topics" : "TopicName_'+ connector.name +'" }'
196+
}
194197
$http(request).then(function(data){
195198
angular.forEach(data.data.configs, function (config) {
196199

0 commit comments

Comments
 (0)