Skip to content

Service that manages backfill state, calling into other services to do batched work

License

Notifications You must be signed in to change notification settings

jdm-square/backfila

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backfila

Backfila is a service that manages backfill state, calling into other services to do batched work.

Note: some instructions here are out of date

Building

Build backfila:

$ ./gradlew clean shadowJar

Run the Service

From the command line

$ java -jar service/build/libs/service.jar

From IntelliJ

Right-click on BackfilaService.kt and select Run

From Docker

Building

Build a Docker image of backfila:

$ docker build -t backfila-0.0.1 service

Running locally

Visit Docker for Mac to install Docker on a Mac for testing.

Run backfila in Docker locally:

$ docker run -p 8080:8080 backfila-0.0.1

Visit the UI at http://localhost:8080/

Client

The backfila client must be installed in your services to expose their backfill code. It also provides the batching mechanism and templates for common types of backfills.

Connectors

Connectors can be installed to provide a way to connect to your services. The included default connectors are HTTPS and Envoy. Add custom connectors using Guice map binding.

Gradle

implementation("app.cash.backfila:backfila-client:0.1.0")
implementation("app.cash.backfila:backfila-service-lib:0.1.0")

License

Copyright 2019 Square, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

Service that manages backfill state, calling into other services to do batched work

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 89.7%
  • TypeScript 8.7%
  • Java 1.1%
  • Other 0.5%