Kinesis Tee is like Unix tee, but for Kinesis streams. Use it to:
- Transform the format of a Kinesis stream
- Filter records from a Kinesis stream based on rules
- Write a Kinesis stream to another Kinesis stream
Rules to apply to your Kinesis stream (e.g. for filtering) are written in JavaScript.
You configure Kinesis Tee with a self-describing Avro configuration file containing:
- A single source stream to read records from
- A single sink stream to write records to
- An optional stream transformer to convert the records to another supported format
- An optional stream filter to determine whether to write the records to the sink stream
Here is an example:
{
"schema": "iglu:com.snowplowanalytics.kinesis-tee/Config/avro/1-0-0",
"data": {
"name": "My Kinesis Tee example",
"targetStream": {
"name": "my-target-stream",
},
"transformer": "SNOWPLOW_TO_NESTED_JSON", // Or "NONE"
"filter": { // Or null
"javascript": "BASE64 ENCODED STRING"
}
}
}
Avro schema for configuration: com.snowplowanalytics.kinesistee/config/avro/1-0-0
Devops Guide | Developers Guide |
---|
Kinesis Tee is copyright 2015-2016 Snowplow Analytics Ltd.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this software except in compliance with the License.
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.