mesos/kafka

Upgrade to mesos 1.0 libs, use labels on launched executors/tasks

steveniemitz opened this issue · 2 comments

Based on the conversation in #216 mesos 1.0 introduced the concept of labels that can be applied to executors and tasks. We should use this to label launched executors with the broker ID.

In addition, we should investigate how to best name executors/tasks to fit the convention things like mesos-dns expect.

@steveniemitz fwiw I like the convention aurora uses when filling out DiscoveryInfo.

discovery: {
visibility: "CLUSTER",
name: "packager-brew.staging.nobody",
environment: "staging",
location: "ZeroZero",
ports: {
ports: [
{
number: 31720,
name: "http",
protocol: "TCP"
}
]
}
}