Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(repo): Added ws streamer service #345

Merged
merged 20 commits into from
Dec 17, 2024

Conversation

0xterminator
Copy link
Contributor

No description provided.

@0xterminator 0xterminator self-assigned this Dec 4, 2024
@0xterminator 0xterminator force-pushed the feat/eugene/wss branch 2 times, most recently from 664e241 to c2a9661 Compare December 6, 2024 13:10
@0xterminator 0xterminator force-pushed the feat/eugene/wss branch 2 times, most recently from 7f70e72 to 58ff6a3 Compare December 8, 2024 10:17
@0xterminator 0xterminator force-pushed the feat/eugene/wss branch 10 times, most recently from 1572aee to 5a3b10d Compare December 9, 2024 13:25
@0xterminator 0xterminator force-pushed the feat/eugene/wss branch 2 times, most recently from 7a2c032 to 53bb2ba Compare December 10, 2024 14:42
@0xterminator 0xterminator force-pushed the feat/eugene/wss branch 5 times, most recently from c3814f2 to b876801 Compare December 12, 2024 10:08
@0xterminator 0xterminator marked this pull request as ready for review December 12, 2024 21:59
@0xterminator 0xterminator changed the title feat(repo): Added draft ws version feat(repo): Added ws streamer service Dec 12, 2024
@0xterminator 0xterminator force-pushed the feat/eugene/wss branch 2 times, most recently from 98f8d89 to 7ab920a Compare December 13, 2024 10:46
@0xterminator 0xterminator force-pushed the feat/eugene/wss branch 2 times, most recently from 9e99e6c to 3fdf014 Compare December 13, 2024 13:47
@Jurshsmith Jurshsmith changed the base branch from main to nats-s3-hybrid-publishing December 16, 2024 14:27
@Jurshsmith Jurshsmith merged commit 6d394c0 into nats-s3-hybrid-publishing Dec 17, 2024
37 checks passed
@Jurshsmith Jurshsmith deleted the feat/eugene/wss branch December 17, 2024 12:18
0xterminator added a commit that referenced this pull request Dec 23, 2024
* feat(publisher): Extend NATS publishing by storing payloads in S3 (#348)

* feat(publisher): Publish streams to S3

* feat(publisher): add Localstack for testing s3 locally

* feat(publisher): Ignore localstack data

* feat(publisher): Fix build errors from integrating S3Client

* feat(publisher): Ensure published objects can be streamed

Also update tests

* feat(publisher): Consistently hash static payload for s3 path

* feat(publisher): Use testnet or mainnet buckets based on the env

* feat(publisher): Distinct env vars for S3

* fix(publisher): Remove unused cli arg (#353)

* fix(publisher): Remove trailing hyphen in bucket name (#354)

* fix(publisher): Don't defer error logging (#355)

* build(repo): Update Cargo.lock

* feat(repo): Added ws streamer service (#345)

* feat(repo): Added draft ws version

* feat(repo): Fixes after AJs merge

* feat(repo): Added docker-compose script for creating S3 bucket

* fix(repo): Added better deserialization

* fix(publisher): re-allow ctrl c shutdown publisher process

* refactor(repo): Disallow nested Cargo.lock

* refactor(publisher): Include default S3 bucket for local development

* feat(repo): Improved serializations

* feat(repo): Removed binary for ws-streamer

* feat(repo): Pass any wildcard to stream filtering

* feat(repo): Added deliver policy to ws pattern for historical data

* feat(repo): Switched to tokio-tungestenite

* feat(repo): Small change to websocket subscriptions

---------

Co-authored-by: AJ <jurshsmith@gmail.com>

* feat(repo): Added webserver service and added docker build step

* fix(repo): use cli instead of config.toml

* fix(ws): remove duplicated nats clients

* fix(ws): use nats_url instead of FuelNetwork

* feat(repo): Removed unused args by infra for ws streamer

* feat: Adjusts to release S3 + WebServer (#361)

* fix(repo): Solving publisher slowness (#352)

* feat(repo): add sv-emitter package

* build(repo): adjust run-publisher

* feat(repo): first version of consumer

* feat(repo): add the rest of payloads

* refactor(repo): reuse executors

* fix(repo): tests

* build(repo): configure devops to emitter/consumer

* build(repo): update chart version

* fix(repo): consumer cli argument

* build(repo): docker action

* build(repo): fix consumer chart

* build(repo): fix consumer chart

* build(repo): fix consumer chart

* build(repo): chart

* fix(repo): general stuff

* build(repo): docker action

* ci(repo): fix

* fix(repo): chain config

* fix(repo): docker images

* feat(repo): improve docker build

* refactor(repo): a lot of improvements

* fix(repo): fix helm chart nats config

* feat(repo): worked using mirror

* fix(repo): adjust nats cluster config

* build(repo): adjust github action

* build(repo): update chart version

* build(repo): fix docker images

* build(repo): lint warnings

* ci(repo): adjust docker action

* build(repo): fix docker file

* fix(repo): stream creation

* build(repo): fix tls for nats

* build(repo): fix chart

* build(repo): fix chart

* build(repo): fix chart

* build(repo): fix chart

* fix(repo): use sts instead of deployment for consumer

* fix(repo): fix chart

* fix(repo): remove initcontainer

* fix(repo): update chart

* fix(repo): fix resources on consumer

* fix(repo): bump chart

* fix(repo): bump chart

* fix(repo): bump chart

* build(repo): fix makefile

* build(repo): add publisher into one single Dockerfile

* ci(repo): fix docker publish action

* build(repo): fix build docker

* ci(repo): fix docker action

* ci(repo): fix tests

* ci(repo): fix ci.yaml

* build(repo): adjust fuel dependencies features

* build(repo): Add DNS/TLS configuration for Nats (#357)

* build(repo): Add DNS/TLS configuration for Nats

* build(repo): bump chart version

* build(repo): fix chart

* build(repo): fix chart

* build(repo): fix secretName on nats client websocket config

* build(repo): Update NATS dependency on chart (#358)

* build(repo): Update NATS dependency on chart

* build(repo): Bump chart version

* refactor(repo): remove FuelNetwork from nats

* refactor(repo): remove unused benches

* refactor(repo): general improvements

* fix(repo): general fixes

* build(repo): adjust chart for new architecture

* build(repo): adjust chart

* build(repo): fix chart

* build(repo): fix chart

* build(repo): fix chart

* build(repo): fix chart

* build(repo): docker image

* build(repo): bump chart

* build(repo): fix emitter Dockerimage

* build(repo): adjust workflow dispatch for docker

* build(repo): docker action

* build(repo): fix publisher config

* build(repo): bump chart

* build(repo): general fixes and adjustments

* build(repo): bump chart

* fix(repo): s3 client workaround

* refactor(repo): rename crates to be consistent

* build(repo): bump chart

* build(repo): some adjusts

* fix(consumer): remove max_messages

* refactor(repo): change s3 path

* build(repo): bump chart

* refactor(repo): perf improvements

* refactor(webserver): send decoded payload direct on websocket

* feat(repo): integrate rust sdk with websockets

* build(repo): fix tests

* docs(repo): adjust main readme

---------

Co-authored-by: AJ <34186192+Jurshsmith@users.noreply.github.com>
Co-authored-by: Pedro Nauck <pedronauck@gmail.com>
Co-authored-by: AJ <jurshsmith@gmail.com>
pedronauck added a commit that referenced this pull request Dec 23, 2024
* feat(publisher): Extend NATS publishing by storing payloads in S3
(#348)

* feat(publisher): Publish streams to S3

* feat(publisher): add Localstack for testing s3 locally

* feat(publisher): Ignore localstack data

* feat(publisher): Fix build errors from integrating S3Client

* feat(publisher): Ensure published objects can be streamed

Also update tests

* feat(publisher): Consistently hash static payload for s3 path

* feat(publisher): Use testnet or mainnet buckets based on the env

* feat(publisher): Distinct env vars for S3

* fix(publisher): Remove unused cli arg (#353)

* fix(publisher): Remove trailing hyphen in bucket name (#354)

* fix(publisher): Don't defer error logging (#355)

* build(repo): Update Cargo.lock

* feat(repo): Added ws streamer service (#345)

* feat(repo): Added draft ws version

* feat(repo): Fixes after AJs merge

* feat(repo): Added docker-compose script for creating S3 bucket

* fix(repo): Added better deserialization

* fix(publisher): re-allow ctrl c shutdown publisher process

* refactor(repo): Disallow nested Cargo.lock

* refactor(publisher): Include default S3 bucket for local development

* feat(repo): Improved serializations

* feat(repo): Removed binary for ws-streamer

* feat(repo): Pass any wildcard to stream filtering

* feat(repo): Added deliver policy to ws pattern for historical data

* feat(repo): Switched to tokio-tungestenite

* feat(repo): Small change to websocket subscriptions

---------

Co-authored-by: AJ <jurshsmith@gmail.com>

* feat(repo): Added webserver service and added docker build step

* fix(repo): use cli instead of config.toml

* fix(ws): remove duplicated nats clients

* fix(ws): use nats_url instead of FuelNetwork

* feat(repo): Removed unused args by infra for ws streamer

* feat: Adjusts to release S3 + WebServer (#361)

* fix(repo): Solving publisher slowness (#352)

* feat(repo): add sv-emitter package

* build(repo): adjust run-publisher

* feat(repo): first version of consumer

* feat(repo): add the rest of payloads

* refactor(repo): reuse executors

* fix(repo): tests

* build(repo): configure devops to emitter/consumer

* build(repo): update chart version

* fix(repo): consumer cli argument

* build(repo): docker action

* build(repo): fix consumer chart

* build(repo): fix consumer chart

* build(repo): fix consumer chart

* build(repo): chart

* fix(repo): general stuff

* build(repo): docker action

* ci(repo): fix

* fix(repo): chain config

* fix(repo): docker images

* feat(repo): improve docker build

* refactor(repo): a lot of improvements

* fix(repo): fix helm chart nats config

* feat(repo): worked using mirror

* fix(repo): adjust nats cluster config

* build(repo): adjust github action

* build(repo): update chart version

* build(repo): fix docker images

* build(repo): lint warnings

* ci(repo): adjust docker action

* build(repo): fix docker file

* fix(repo): stream creation

* build(repo): fix tls for nats

* build(repo): fix chart

* build(repo): fix chart

* build(repo): fix chart

* build(repo): fix chart

* fix(repo): use sts instead of deployment for consumer

* fix(repo): fix chart

* fix(repo): remove initcontainer

* fix(repo): update chart

* fix(repo): fix resources on consumer

* fix(repo): bump chart

* fix(repo): bump chart

* fix(repo): bump chart

* build(repo): fix makefile

* build(repo): add publisher into one single Dockerfile

* ci(repo): fix docker publish action

* build(repo): fix build docker

* ci(repo): fix docker action

* ci(repo): fix tests

* ci(repo): fix ci.yaml

* build(repo): adjust fuel dependencies features

* build(repo): Add DNS/TLS configuration for Nats (#357)

* build(repo): Add DNS/TLS configuration for Nats

* build(repo): bump chart version

* build(repo): fix chart

* build(repo): fix chart

* build(repo): fix secretName on nats client websocket config

* build(repo): Update NATS dependency on chart (#358)

* build(repo): Update NATS dependency on chart

* build(repo): Bump chart version

* refactor(repo): remove FuelNetwork from nats

* refactor(repo): remove unused benches

* refactor(repo): general improvements

* fix(repo): general fixes

* build(repo): adjust chart for new architecture

* build(repo): adjust chart

* build(repo): fix chart

* build(repo): fix chart

* build(repo): fix chart

* build(repo): fix chart

* build(repo): docker image

* build(repo): bump chart

* build(repo): fix emitter Dockerimage

* build(repo): adjust workflow dispatch for docker

* build(repo): docker action

* build(repo): fix publisher config

* build(repo): bump chart

* build(repo): general fixes and adjustments

* build(repo): bump chart

* fix(repo): s3 client workaround

* refactor(repo): rename crates to be consistent

* build(repo): bump chart

* build(repo): some adjusts

* fix(consumer): remove max_messages

* refactor(repo): change s3 path

* build(repo): bump chart

* refactor(repo): perf improvements

* refactor(webserver): send decoded payload direct on websocket

* feat(repo): integrate rust sdk with websockets

* build(repo): fix tests

* docs(repo): adjust main readme

---------

Co-authored-by: AJ <34186192+Jurshsmith@users.noreply.github.com>
Co-authored-by: Pedro Nauck <pedronauck@gmail.com>
Co-authored-by: AJ <jurshsmith@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants