Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xanadu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Mahendra Patel
xanadu
Commits
81e31051
Commit
81e31051
authored
4 years ago
by
NILANJAN DAW
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed bug: RM not returning node address
parent
a38a16ae
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
dispatch_system/dispatch_daemon/config.json
dispatch_system/dispatch_daemon/config.json
+1
-1
dispatch_system/dispatch_manager/rm.js
dispatch_system/dispatch_manager/rm.js
+1
-1
No files found.
dispatch_system/dispatch_daemon/config.json
View file @
81e31051
{
"id"
:
"192.168.0.105"
,
"master_node"
:
"192.168.0.105"
}
{
"id"
:
"192.168.0.104"
,
"master_node"
:
"192.168.0.105"
}
\ No newline at end of file
\ No newline at end of file
This diff is collapsed.
Click to expand it.
dispatch_system/dispatch_manager/rm.js
View file @
81e31051
...
@@ -18,7 +18,7 @@ let kafka = require('kafka-node'),
...
@@ -18,7 +18,7 @@ let kafka = require('kafka-node'),
])
])
function
getAddress
()
{
function
getAddress
()
{
return
Object
.
keys
(
workerNodes
)[
0
];
}
}
consumer
.
on
(
'
message
'
,
function
(
message
)
{
consumer
.
on
(
'
message
'
,
function
(
message
)
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment