GitXplorerGitXplorer
c

backfila

public
32 stars
52 forks
52 issues

Commits

List of commits on branch master.
Verified
b0fbc3157d7eb6f53446acfe3130602cf909a10c

Fixing gradle tasks to get gradle the right context. (#408)

mmpawliszyn committed 2 days ago
Verified
8a8821a2770cfab10d9a6a51b5d0facbe8508345

Make EmbeddedBackfila set precomputing properly. (#404)

mmpawliszyn committed 2 months ago
Verified
fab304f4e724a396183f820785ee01997ae173fe

Use the gradle plugin in the SQLDelight tests. (#403)

mmpawliszyn committed 3 months ago
Verified
5d9f39a12fd4dc95533889978d70b043a817b287

SQLDelight client and related Gradle plugin. (#402)

mmpawliszyn committed 3 months ago
Verified
4b9186f0a86605507e1ec86cd39e50cddc1e6769

Fixing Hibernate bug for @When annotations. (#401)

mmpawliszyn committed 4 months ago
Unverified
df0bf16fd3050c97105ceba555de32509ef11c10

Use h2c when configuring gRPC clients with http:// URLs

TThePumpingLemma committed 5 months ago

README

The README file for this repository.

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

Hermit

Hermit is used to manage build dependencies like local Java and Gradle versions.

Install Hermit shell hooks or run the following manually.

$ . ./bin/activate-hermit

Building

Build backfila:

$ gradle clean shadowJar

Run the Service

From the command line

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

From IntelliJ

Right-click on BackfilaDevelopmentService.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.