forked from twitter-archive/snowflake
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
112 additions
and
100 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import com.twitter.service.snowflake.{SnowflakeConfig, ReporterConfig} | ||
|
||
new SnowflakeConfig { | ||
val serverPort: Int = 7609 | ||
val datacenterId: Int = 0 | ||
val workerId: Int = 0 | ||
val adminPort: Int = 9990 | ||
val adminBacklog: Int = 100 | ||
val workerIdZkPath: String = "/snowflake-servers" | ||
val zkHostlist: String = "localhost" | ||
val skipSanityChecks: Boolean = false | ||
val startupSleepMs: Int = 10000 | ||
val thriftServerThreads: Int = 2 | ||
|
||
val reporterConfig = new ReporterConfig { | ||
val scribeCategory = "snowflake" | ||
val scribeHost = "localhost" | ||
val scribePort = 1463 | ||
val scribeSocketTimeout = 5000 | ||
val flushQueueLimit = 100000 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.