Coder Social home page Coder Social logo

ibmstreams / streamsx.microservice Goto Github PK

View Code? Open in Web Editor NEW
0.0 5.0 3.0 63 KB

Provide documentation, utilities, examples for Streams microservices

License: Apache License 2.0

Java 100.00%
streaming-analytics microservice microservices-architecture

streamsx.microservice's People

Contributors

chanskw avatar ddebrunner avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

streamsx.microservice's Issues

Using Git Hubflow process

I created a "develop" branch for our development...

Development should go on develop branch. When we are ready, we can make releases and push the changes to master.

I will also make "develop" our default branch.

@ddebrunner Sorry, I ran the command again without thinking. I should have consulted before I set this up.

Please let me know if you have concern.

Convertor microservices.

Create some SPL (main) composites that can act as services and support:

  • Convert an SPL schema published stream to an JSON stream with the same topic.
  • Subscribe to a published stream and submit message hub messages as JSON for each tuple
    • This would allow Stream Designer flows (just beta'ed) to consume published streams.
  • Consume a MessageHub queue and publish messages as a stream
    • This would allow Stream Designer flows (just beta'ed) to produce data to be consumer by Streams subscribers.

Suggestion to use "streaming microservices"

It's been suggested to describe the microservices as "streaming microservices" to help differentiate from request/response ones.

not saying we rename the project, but in text descriptions use of streaming microservices would be encouraged.

Tagging and submission feedback.

  • From a customer case with the health care toolkit a service should probably set resource tags for any operators that might require placement, eg. binding a TCP server to a know machine. Use of tags allows flexibility and Job Config overlays can be used to map tags (if required) for the service. E.g. for the health care Hapi ingest, have a resource tag of hapiIngest that might be mapped to eastWingIngest in a customer environment.

  • A microservice must not hardcode its submission, e.g. only supporting DISTRIBUTED. In some ways this goes to being able to support a runner style where the runner takes a definition of the service and supports submitting it to any context, supporting submission parameters, job names etc. etc. Like the streamsx-runner script.

User stories for microservices?

Do we need some user stories that will help guide us?

Claudia the microservice developer would like to easily create a microservice:

  • in Python, Java, Scala or SPL
  • with runtime properties such as job name automatically set when the microservice is submitted.
  • that can be packaged and easily consumed by Alec the application composer as a single entity.

Alec the application composer would like to:

  • discover microservices
    • running in an instance
    • available from a catalog
      • generally - ie. general list of what is available
      • or that subscribe to or publish a specific topic. (e.g. what microservices exist to analyze this stream of medical data)
  • understand which topics a microservice consumes and produces (meta-data for a service)
  • easily submit a microservice with no knowledge of its internals or dependencies.

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.