Version 1 of a Go library for interacting with the Aurora Scheduler
* Changing incorrect license in some source files. * Changing CreateService to mimic CreateJob by setting the batch size to the instance count. * Changing Getcerts to GetCerts to match the style of the rest of the codebase. * Overhauled error handling. Backoff now recognizes temporary errors and continues to retry if it finds one. * Changed thrift function call wrapper to be more explicitly named and to perform more safety checks. * Moved Jitter function from realis to retry. * API code is now more uniform and follows a certain template. * Lock added whenever a thrift call is made or when a modification is done to the connection. Note that calling ReestablishConn externally may result in some race conditions. We will move to make this function private in the near future. * Added test for Realis session thread safety. Tested ScheduleStatus monitor. Tested monitor timing out. * Returning nil whenever there is an error return so that there are no ambiguities. * Using defer with unlock so that the lock is still released if a panic is invoked. |
||
---|---|---|
.github | ||
docs | ||
examples | ||
gen-go/apache/aurora | ||
response | ||
vendor | ||
.auroraversion | ||
.gitignore | ||
auroraAPI.thrift | ||
clusters.go | ||
clusters_test.go | ||
container.go | ||
errors.go | ||
generateBindings.sh | ||
Gopkg.lock | ||
Gopkg.toml | ||
job.go | ||
LICENSE | ||
logger.go | ||
monitors.go | ||
README.md | ||
realis.go | ||
realis_e2e_test.go | ||
retry.go | ||
updatejob.go | ||
zk.go |
gorealis 
Go library for interacting with Apache Aurora.
Aurora version compatibility
Please see .auroraversion to see the latest Aurora version against which this library has been tested.
Usage
To Do
- Create or import a custom transport that uses https://github.com/jmcvetta/napping to improve efficiency
Contributions
Contributions are always welcome. Please raise an issue so that the contribution may be discussed before it's made.