Skip to content

Commit bd8a138

Browse files
ChristinaChristina
authored andcommitted
initial commit
0 parents  commit bd8a138

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+5831
-0
lines changed

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
bower_components/
2+
node_modules/
3+
dist/
4+
.idea/
5+
*.iml
6+

Gruntfile.js

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
'use strict';
2+
3+
module.exports = function (grunt) {
4+
5+
require('jit-grunt')(grunt, {});
6+
7+
grunt.loadNpmTasks('grunt-cache-breaker');
8+
// Define the configuration
9+
grunt.initConfig({
10+
11+
// Project settings
12+
bower: grunt.file.readJSON('bower.json'),
13+
14+
clean: {
15+
src: ['dist']
16+
},
17+
18+
copy: {
19+
files: {
20+
cwd: '.',
21+
src: [
22+
'index.html',
23+
'src/assets/**',
24+
'src/**/*.html',
25+
'src/**/**/*.html',
26+
'src/**/**/**/*.html',
27+
'src/**/**/**/**/*.html',
28+
'src/*.html',
29+
'env.js',
30+
'bower_components/angular/angular.min.js',
31+
'bower_components/angular/angular.min.js.map', // Include source-maps
32+
'bower_components/angular-spinner/angular-spinner.min.js',
33+
'bower_components/angular-spinner/angular-spinner.min.js.map', // Include source-maps
34+
'bower_components/bootstrap/dist/css/bootstrap.min.css',
35+
'bower_components/bootstrap/dist/css/bootstrap.min.css.map', // Include source-maps
36+
'bower_components/angular-route/angular-route.min.js',
37+
'bower_components/angular-route/angular-route.min.js.map', // Include source-maps
38+
'bower_components/angular-animate/angular-animate.min.js',
39+
'bower_components/angular-animate/angular-animate.min.js.map', // Include source-maps
40+
'bower_components/angular-aria/angular-aria.min.js',
41+
'bower_components/angular-aria/angular-aria.min.js.map', // Include source-maps
42+
'bower_components/angular-material/angular-material.min.css',
43+
'bower_components/font-awesome/css/font-awesome.min.css',
44+
'bower_components/components-font-awesome/**',
45+
'bower_components/font-awesome/fonts/**',
46+
'bower_components/ace-builds/src-min-noconflict/ace.js',
47+
'bower_components/ace-builds/src-min-noconflict/ext*.js',
48+
'bower_components/ace-builds/src-min-noconflict/mode-json.js',
49+
'bower_components/ace-builds/src-min-noconflict/mode-batchfile.js',
50+
'bower_components/ace-builds/src-min-noconflict/theme-chrome.js',
51+
'bower_components/ace-builds/src-min-noconflict/worker-json.js',
52+
'bower_components/angular-ui-ace/ui-ace.min.js',
53+
'bower_components/spin.js/spin.min.js',
54+
'bower_components/angular-material/angular-material.min.js',
55+
'bower_components/angularUtils-pagination/dirPagination.js',
56+
'bower_components/angular-google-chart/ng-google-chart.min.js',
57+
'bower_components/angular-messages/angular-messages.min.js'
58+
],
59+
dest: 'dist',
60+
expand: true
61+
}
62+
},
63+
64+
concat: {
65+
dist: {
66+
src: ['src/supported-connectors.js', 'src/app.js', 'src/**/*-factory.js','src/**/*.factory.js', 'src/**/*.controller.js', 'src/**/**/*.controller.js', 'src/**/**/**/*.controller.js'],
67+
dest: 'dist/src/combined.js'
68+
}
69+
},
70+
71+
cachebreaker: {
72+
js: {
73+
options: {
74+
match: ['combined.js'],
75+
replacement: 'md5',
76+
src: {
77+
path: 'dist/src/combined.js'
78+
}
79+
},
80+
files: {
81+
src: ['dist/index.html']
82+
}
83+
}
84+
},
85+
86+
usemin: {
87+
html: ['dist/index.html']
88+
}
89+
90+
});
91+
92+
grunt.registerTask('default', [
93+
'clean',
94+
'copy',
95+
'concat',
96+
'usemin',
97+
'cachebreaker'
98+
]);
99+
};

LICENSE.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Business Source License 1.0
2+
3+
Licensor: Landoop Ltd
4+
5+
Software: Landoop Apache Kafka tools. The Software is © 2016 Landoop
6+
7+
Use Limitation: Usage of the software is free when your application uses the Software with a total of less than five Kafka server instances for production purposes.
8+
9+
Change Date: 2019-01-01
10+
11+
Change License: Apache-2.0 license.
12+
13+
_____________________________________________
14+
15+
You are granted limited license to the Software under this Business Source License. Please read this Business Source License carefully, particularly the Use Limitation set forth above.
16+
17+
Subject to the Use Limitation, Licensor grants you a non-exclusive, worldwide (subject to applicable laws) license to copy, modify, display, use, create derivative works, and redistribute the Software until the Change Date. If your use of the Software exceeds, or will exceed, the foregoing limitations you MUST obtain alternative licensing terms for the Software directly from Licensor. For the avoidance of doubt, prior to the Change Date, there is no Use Limitations for non-production purposes.
18+
19+
After the Change Date, this Business Source License will convert to the Change License and your use of the Software, including modified versions of the Software, will be governed by such Change License.
20+
21+
All copies of original and modified Software, and derivative works of the Software, are subject to this Business Source License. This Business Source License applies separately for each version of the Software and the Change Date will vary for each version of the Software released by Licensor.
22+
23+
You must conspicuously display this Business Source License on each original or modified copy of the Software. If you receive the Software in original or modified form from a third party, the restrictions set forth in this Business Source License apply to your use of such Software.
24+
25+
Any use of the Software in violation of this Business Source License will automatically terminate your rights under this Business Source License for the current and all future versions of the Software.
26+
27+
You may not use the marks or logos of Licensor or its affiliates for commercial purposes without prior written consent from Licensor.
28+
29+
TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE SOFTWARE AND ALL SERVICES PROVIDED BY LICENSOR OR ITS AFFILIATES UNDER OR IN CONNECTION WITH WITH THIS BUSINESS SOURCE LICENSE ARE PROVIDED ON AN “AS IS” AND “AS AVAILABLE” BASIS. YOU EXPRESSLY WAIVE ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, TITLE, SYSTEM INTEGRATION, AND ACCURACY OF INFORMATIONAL CONTENT.

README.md

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
# kafka-connect-ui
2+
3+
[![release](http://github-release-version.herokuapp.com/github/landoop/kafka-connect-ui/release.svg?style=flat)](https://github.com/landoop/kafka-connect-ui/releases/latest)
4+
[![docker](https://img.shields.io/docker/pulls/landoop/kafka-connect-ui.svg?style=flat)](https://hub.docker.com/r/landoop/kafka-connect-ui/)
5+
[![Join the chat at https://gitter.im/Landoop/support](https://img.shields.io/gitter/room/nwjs/nw.js.svg?maxAge=2592000)](https://gitter.im/Landoop/support?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
6+
7+
This is a web tool for Kafka Connect for setting up and managing connectors for multiple connect clusters.
8+
9+
## Live Demo
10+
[kafka-connect-ui.landoop.com](http://kafka-connect-ui.landoop.com)
11+
12+
## Run standalone with docker
13+
14+
<--TODO-->
15+
16+
17+
## Build from source
18+
```
19+
git clone https://github.com/Landoop/kafka-topics-ui.git
20+
cd kafka-topics-ui
21+
npm install
22+
http-server .
23+
```
24+
Web UI will be available at `http://localhost:8080`
25+
26+
### Nginx config
27+
28+
If you use `nginx` to serve this ui, let angular manage routing with
29+
```
30+
location / {
31+
try_files $uri $uri/ /index.html =404;
32+
root /folder-with-kafka-connect-ui/;
33+
}
34+
```
35+
36+
### Setup connect clusters
37+
38+
Use multiple Kafka Connect clusters in `env.js` :
39+
```
40+
var clusters = [
41+
{
42+
NAME:"prod", //unique name is required
43+
KAFKA_CONNECT: "http://kafka-connect.prod.url", //required
44+
KAFKA_REST: "http://kafka-rest.url", //optional
45+
KAFKA_TOPICS_UI: "http://kafka-topics-ui.url", //optional
46+
KAFKA_TOPICS_UI_ENABLED: true //optional
47+
},
48+
{
49+
NAME:"dev",
50+
KAFKA_CONNECT: "http://kafka-connect.dev.url",
51+
KAFKA_TOPICS_UI_ENABLED: false
52+
},
53+
{
54+
NAME:"local",
55+
KAFKA_CONNECT: "http://kafka-connect.local.url",
56+
}
57+
]
58+
59+
```
60+
### Supported Connectors
61+
For all our DM connectors we have a template of metadata within the `supported-connectors.js`. However this optional and depends on your setup. In any case the UI will show all the connectors appear in your classpath kai give you all the required fields to set it up.
62+
63+
## Changelog
64+
[Here](https://github.com/Landoop/kafka-connect-ui/wiki/Release-Changelog)
65+
66+
## License
67+
68+
The project is licensed under the [BSL](www.landoop.com/bsl) license.
69+
70+
## Relevant Projects
71+
72+
* [schema-registry-ui](https://github.com/Landoop/schema-registry-ui), View, create, evolve and manage your Avro Schemas on your Kafka cluster
73+
* [kafka-topics-ui](https://github.com/Landoop/kafka-topics-ui), UI to browse Kafka data and work with Kafka Topics
74+
* [fast-data-dev](https://github.com/Landoop/fast-data-dev), Docker for Kafka developers (schema-registry,kafka-rest,zoo,brokers,landoop)
75+
* [Landoop-On-Cloudera](https://github.com/Landoop/Landoop-On-Cloudera), Install and manage your kafka streaming-platform on you Cloudera CDH cluster
76+
77+
78+
79+
<img src="http://www.landoop.com/images/landoop-dark.svg" width="13"> www.landoop.com

bower.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"name": "kafka-connect-ui",
3+
"authors": [
4+
"Christina Daskalaki <christina@landoop.com>",
5+
"Antonios Chalkiopoulos <antonios@landoop.com>",
6+
"Marios Andreopoulos <marios@landoop.com>",
7+
"John Glampedakis <john@landoop.com>"
8+
],
9+
"description": "A user interface for Kafka Connect",
10+
"license": "BSL",
11+
"main": "index.html",
12+
"homepage": "http://kafka-connect-ui.landoop.com",
13+
"ignore": [
14+
"**/.*",
15+
"node_modules",
16+
"bower_components"
17+
],
18+
"dependencies": {
19+
"angular": "~1.5.*",
20+
"angular-route": "^1.5.*",
21+
"angular-animate": "^1.5.*",
22+
"angular-aria": "^1.5.*",
23+
"angular-ui-ace": "bower",
24+
"bootstrap": "^3.3.6",
25+
"angular-spinner": "^0.8.1",
26+
"angular-material": "^1.1.1",
27+
"angularUtils-pagination": "angular-utils-pagination#^0.11.1",
28+
"components-font-awesome": "^4.6.3",
29+
"angular-messages": "^1.5.8",
30+
"angular-google-chart": "^0.1.0"
31+
}
32+
}

env.js

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
//Change the URLs of the endpoints here
2+
var clusters = [
3+
{
4+
NAME:"prod",
5+
KAFKA_CONNECT: "http://kafka-connect.prod.url",
6+
KAFKA_REST: "http://kafka-rest.url",
7+
KAFKA_TOPICS_UI: "http://kafka-topics-ui.url",
8+
KAFKA_TOPICS_UI_ENABLED: true
9+
},
10+
{
11+
NAME:"dev",
12+
KAFKA_CONNECT: "http://kafka-connect.dev.url",
13+
KAFKA_TOPICS_UI_ENABLED: false
14+
},
15+
{
16+
NAME:"local",
17+
KAFKA_CONNECT: "http://kafka-connect.local.url",
18+
}
19+
]

0 commit comments

Comments
 (0)