Skip to content

Instantly share code, notes, and snippets.

@wcpan
Created December 18, 2015 19:52
Show Gist options
  • Save wcpan/677df36125373faba200 to your computer and use it in GitHub Desktop.
Save wcpan/677df36125373faba200 to your computer and use it in GitHub Desktop.
# Config format: HOCON
# https://github.com/typesafehub/config/blob/master/HOCON.md
# See core/src/main/resources/default.conf for complete documentation of the properties in this config file.
gondola {
hosts = [
{ hostId = "host1", hostname = "fanos898.sports.bf1.yahoo.com", port = "2828", appScheme = "http", appPort = "4080", siteId = "bf1" }
{ hostId = "host2", hostname = "fanos899.sports.bf1.yahoo.com", port = "2828", appScheme = "http", appPort = "4080", siteId = "bf1" },
{ hostId = "host3", hostname = "fanos900.sports.gq1.yahoo.com", port = "2838", appScheme = "http", appPort = "4080", siteId = "gq1" },
{ hostId = "host4", hostname = "fanos898.sports.gq1.yahoo.com", port = "2828", appScheme = "http", appPort = "4080", siteId = "bf1" }
{ hostId = "host5", hostname = "fanos899.sports.gq1.yahoo.com", port = "2828", appScheme = "http", appPort = "4080", siteId = "bf1" },
{ hostId = "host6", hostname = "fanos900.sports.bf1.yahoo.com", port = "2838", appScheme = "http", appPort = "4080", siteId = "gq1" },
],
shards = [
{ shardId = "shard1", bucketMap = "0-100", hosts =
[
{hostId: host1, memberId: 81},
{hostId: host2, memberId: 82},
{hostId: host3, memberId: 83}
]
},
{ shardId = "shard2", bucketMap = "", hosts =
[
{hostId: host4, memberId: 84},
{hostId: host5, memberId: 85},
{hostId: host6, memberId: 86}
]
}
],
sites = [
{ siteId = "gq1",
storage_mysql {
url = "jdbc:mysql://db1.gq1.yahoo.com/awesomeProject"
}
},
{ siteId = "bf1",
storage_mysql {
url = "jdbc:mysql://db1.bf1.yahoo.com/awesomeProject"
}
},
{ siteId = "bf2",
storage_mysql {
url = "jdbc:mysql://db1.bf2.yahoo.com/awesomeProject"
}
},
]
}
##################### gondola command
tracing {
cli {
agent = false
command = false
}
router = true
adminCli = true
}
registry {
impl = registry.zookeeper
zookeeper {
service_name = "gondola_demo"
connect_string = "fanos898.sports.bf1.yahoo.com:2181"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment