Git Product home page Git Product logo

pulsar-beam's People

Contributors

cah4444 avatar lhotari avatar pixelartist avatar truong-hua avatar zzzming avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

pulsar-beam's Issues

bzr missing in golang:alpine

Hello,

while trying to build your image I encountered the following error:

D:\projects\pulsar\pulsar-beam (master -> origin)
λ docker build -t pulsar-beam .
Sending build context to Docker daemon  237.6kB
Step 1/13 : FROM golang:alpine AS builder
 ---> 3289bf11c284
Step 2/13 : LABEL maintainer="kafkaesque.io"
 ---> Using cache
 ---> b0b2cacac0a7
Step 3/13 : RUN apk --no-cache add build-base git bzr mercurial gcc
 ---> Running in c4cc97e18153
fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz
ERROR: unsatisfiable constraints:
  bzr (missing):
    required by: world[bzr]
The command '/bin/sh -c apk --no-cache add build-base git bzr mercurial gcc' returned a non-zero code: 1

I tried to check why bazaar is missing - but could not see any quick solution, therefore I tested it without bzr and was able to build the image.

Can you elaborate why bzr is needed and if fix the error?

Support gzip request

Currently, pulsar-beam does not decompress a HTTP request with header Content-encoding: gzip before pushing to Pulsar.

How to handle Leftover Subscriptions ?

this pubsub system base on http,I have a question that if a client subscribe topic named 'A’, and then the client closed or losed, may be it never use,the pulsar system will keep this topic forever? If not a client ,rather than one millon..how to handle this scene?

Multiple webhook brokers

This is more of a question. If I have multiple webhook configurations and multiple instances of pulsar-beam brokers are running, how does the assignment of topics happens? Or, do all brokers try to read from all topics?

Using Tokens in Pulsar Beam

Hi
This is more of a question about Pulsar Beam registering webhooks

I have a docker instance of Pulsar Standalone, another instance of Pulsar Admin and a docker instance Pulsar Beam running locally.

I create a token with https://pulsar.apache.org/docs/en/administration-pulsar-manager/#set-administrator-account-and-password and use it

curl -v -X POST -H "Authorization: Bearer $TOKEN1" -d ' {"TopicFullName": "persistent://tenant22/namespace2/test-topic3", "PulsarURL": "pulsar+ssl://toronto.do.kafkaesque.io:6651", "Token": "TOKEN2", "Webhooks": [{"URL": "https://webhook.com/webhook1", "InitialPosition": "earliest", "Subscription": "mysub", "WebhookStatus": 1}]}' localhost:8085/v2/topic

When using the API Create-or-Update-Topic https://kafkaesque-io.github.io/pulsar-beam-swagger/#/ for I do get the "Unauthorized" error

it is not clear to me how to get TOKEN1 and TOKEN2.
what configurations should I do in order to allow Pulsar Beam to register webhooks ?

Webhook broker load balance

The work load of pushing data to webhooks are within a single process. To scale up, we shall be able to have multiple brokers/workers to share the load. The first iteration could be a predefined number of workers to share based on hash of topic or subscription name.

Enable state storage for webhook

This will enable webhook or Cloud Function to be able to reply its state and acquire the previous state along the data when Pulsar Beam passes.

A typical use case would be word count. The count is passed along the text data by the Beam. The incremented counts can be returned by the Function or Webhook and stored by the Beam.

The plan is to support complex JSON object.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.