Coder Social home page Coder Social logo

vertx-sfdc-platformevents's Introduction

Codeship Status for Stwissel/vertx-sfdc-platformevents Known Vulnerabilities Known Vulnerabilities Known Vulnerabilities Codacy Badge

Collection of verticles that enable interaction with the Salesforce API Check the full documentation!

Current released version

The current released version is 0.3.3
Development might have newer snapshots

Available Verticles

  • Authentication
  • Subscription to platform events
  • Process platform events
  • Main/Setup Verticle
  • Deduplication Verticle (messages already processed get discarded

Check the full documentation!

Setup and Configuration

Add this dependencies to your pom.xml:

<dependency>
	<groupId>net.wissel.salesforce</groupId>
	<artifactId>vertx-sfdc-core</artifactId>
	<version>0.3.3</version>
</dependency>
<!-- Optional for deduplication service if Redis is your choice -->
<dependency>
	<groupId>net.wissel.salesforce</groupId>
	<artifactId>vertx-sfdc-redis</artifactId>
	<version>0.3.3</version>
</dependency>

Check the full documentation!

Artifacts on Maven Central

Change Log

List of changes in reverse order

Issues and feedback

I would love to hear about your implementation or ideas or challenges, so open an issue on GitHub - even for sharing success. Don't be shy!

vertx-sfdc-platformevents's People

Contributors

snyk-bot avatar stwissel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

vertx-sfdc-platformevents's Issues

Allow arrayed subscriptions

SFDC platform events allow arrayed subscriptions, so one listener can receive multiple events counting only one against platform event subscriber limits

Extract CometD logic into handler class

Currently CometD logic is hard-wired into a verticle which makes testing it harder than it needs to be. Extract into a helper class that can be unit tested without a running http server.

Create mock server

When testing the Verticles some mock server needs to answer all the requests. Can be configured in testingconfig.json

Deduplication of messages required

When a queue restarts or multiple concurrent listeners receive the same message, we need to ensure that we don't have any duplicate messages provided to the consumer.

Have an implementation that does that in memory and can be overwritten in another module with a central key value store

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.