https://github.com/fluree/kinesis-component
donut.system component library for using Kinesis streams
https://github.com/fluree/kinesis-component
Last synced: 5 months ago
JSON representation
donut.system component library for using Kinesis streams
- Host: GitHub
- URL: https://github.com/fluree/kinesis-component
- Owner: fluree
- License: other
- Created: 2023-12-14T19:12:11.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-18T21:35:54.000Z (almost 2 years ago)
- Last Synced: 2024-07-19T05:58:39.126Z (almost 2 years ago)
- Language: Clojure
- Size: 32.2 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# com.fluree/kinesis-component
Fluree Kinesis [donut.system](https://github.com/donut-party/system) component
## Usage
```clojure
; in deps.edn
com.fluree/kinesis-component {:git/url "https://github.com/fluree/kinesis-component.git"
:git/sha "..."}
; in your code
(ns my.ns
(:require [donut.system :as ds]
[fluree.kinesis :as kinesis]))
(def my-donut-system
{::ds/defs
{:aws {:kinesis/client kinesis/client
:kinesis/stream kinesis/stream}
:aws/config {:aws/region "us-west-2" ; required
:aws/endpoint-override "http://localhost:4566" ; optional
:aws/access-key-id "..." ; optional & not recommended for real credentials
:kinesis/stream-name "foo" ; required
:kinesis/create-stream? true ; optional; defaults to false
}}})
```
## License
Copyright © 2023 Fluree, PBC
See LICENSE file.