brooklin

An extensible distributed system for reliable nearline data streaming at scale

Github stars Tracking Chart

= Brooklin

image:https://img.shields.io/github/license/linkedin/brooklin.svg[link="https://github.com/linkedin/brooklin/blob/master/LICENSE"]
image:https://img.shields.io/badge/bintray-v1.0.2-blue.svg?style=popout[link="https://bintray.com/linkedin/maven/brooklin"]
image:https://img.shields.io/gitter/room/linkedin/kafka.svg?style=popout[link="https://gitter.im/linkedin/brooklin"]
image:https://img.shields.io/github/last-commit/linkedin/brooklin.svg?style=popout[link="https://github.com/linkedin/brooklin/commits/master"]
image:https://img.shields.io/github/issues/linkedin/brooklin/bug.svg?color=orange?style=popout[link="https://github.com/linkedin/brooklin/labels/bug"]

image::images/brooklin-overview.svg[Brooklin Overview]
{empty} +
Brooklin is a distributed system intended for streaming data between various heterogeneous source and destination systems with high reliability and throughput at scale. Designed for multitenancy, Brooklin can simultaneously power hundreds of data pipelines across different systems and can easily be extended to support new sources and destinations.

== Distinguishing features

  • Extensible for any source and destination

** Brooklin offers a flexible API that can be extended to support a wide variety of source and destination systems. It is not confined to single type of source or destination system.
** Source and destination systems can be freely mixed and matched. They do not have to be the same.

  • Scalable
    ** Brooklin supports creating an arbitrary number of data streams that are processed concurrently and independently such that errors in one stream are isolated from the rest.
    ** Brooklin supports partitioned data streams throughout its core implementation and APIs.
    ** Brooklin can be deployed to a cluster of machines (scale out) to support as many data streams as desired.

  • Easy to operate and manage
    ** Brooklin exposes a REST endpoint for managing data streams, that offers a rich set of operations on them in addition to CRUD (e.g. pause and resume).
    ** Brooklin also exposes a diagnostics REST endpoint that enables on-demand querying of a data stream's status.

  • Battle-tested at scale with Kafka
    ** While it is not limited to any particular system, Brooklin provides capabilities for reading/writing massive amounts of data to/from Kafka with high reliability at scale. You can learn more about this in the <> section.

  • Supports Change Data Capture with bootstrap
    ** Brooklin supports propagating https://en.wikipedia.org/wiki/Change_data_capture[Change Data Capture] events from data stores, e.g. RDBMS, KV stores ... etc.
    ** Brooklin also supports streaming a snapshot of the existing data before propagating change events.

== Use cases
=== Mirroring Kafka clusters

  • Multitenancy

A single Brooklin cluster can be used to mirror data across several Kafka clusters.

  • Fault isolation across topic partitions

One bad partition will not affect an entire Kafka topic. Mirroring will continue for all the other healthy partitions.

  • Whitelisting topics using regular expressions

Select the topics to mirror using regular expression patterns against their names.

  • Pausing and resuming individual partitions

Through its https://github.com/linkedin/brooklin/wiki/Brooklin-Architecture#rest-endpoints[Datastream Management Service (DMS)], Brooklin exposes REST APIs that allow finer control over replication pipelines, like being able to pause and resume individual partitions of a Kafka topic.

Check out https://github.com/linkedin/brooklin/wiki/mirroring-kafka-clusters[Mirroring Kafka Clusters] to learn more about using Brooklin to mirror Kafka clusters.

=== Change Data Capture

  • Brooklin supports propagating https://en.wikipedia.org/wiki/Change_data_capture[Change Data Capture] events from data stores, e.g. RDBMS, KV stores ... etc.
  • Brooklin supports bootstrapping data from a datastore, i.e. streaming a snapshot of the existing data before any change events.
  • MySQL support is currently under development.

=== Stream processing bridge

== Trying out Brooklin
Feel free to check out our https://github.com/linkedin/brooklin/wiki/test-driving-brooklin[step-by-step tutorials] for running Brooklin locally in a few example scenarios.

== Documentation
https://github.com/linkedin/Brooklin/wiki[Brooklin Wiki Pages]

== Community

== Contributing

== License
Copyright (c) LinkedIn Corporation. All rights reserved.
Licensed under the https://github.com/linkedin/brooklin/blob/master/LICENSE[BSD 2-Clause] License.

Overview

Name With Ownerlinkedin/brooklin
Primary LanguageJava
Program languageJava (Language Count: 4)
Platform
License:BSD 2-Clause "Simplified" License
Release Count8
Last Release Name5.4.3 (Posted on )
First Release Name1.0.0 (Posted on )
Created At2015-08-10 22:58:33
Pushed At2024-03-29 15:10:33
Last Commit At2024-03-29 08:10:25
Stargazers Count890
Watchers Count41
Fork Count134
Commits Count1.4k
Has Issues Enabled
Issues Count36
Issue Open Count17
Pull Requests Count829
Pull Requests Open Count15
Pull Requests Close Count100
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private
To the top