Giter Club home page Giter Club logo

correlationvector-java's Introduction

Correlation Vector-Java

CorrelationVector-Java provides the Java implementation of the CorrelationVector protocol for tracing and correlation of events through a distributed system.

Correlation Vector

Background

Correlation Vector (a.k.a. cV) is a format and protocol standard for tracing and correlation of events through a distributed system based on a light weight vector clock. The standard is widely used internally at Microsoft for first party applications and services and supported across multiple logging libraries and platforms (Services, Clients - Native, Managed, Js, iOS, Android etc). The standard powers a variety of different data processing needs ranging from distributed tracing & debugging to system and business intelligence, in various business organizations.

For more on the correlation vector specification and the scenarios it supports, please refer to the specification repo.

This repo provides reference implementation for Java developers to incorporate the cV for their distributed debugging and correlated analytics scenarios.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

General feedback and discussions?

Please start a discussion on the Home repo issue tracker

correlationvector-java's People

Contributors

aybatra avatar felixcheng458 avatar microsoftopensource avatar msftgits avatar sathishcg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

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

correlationvector-java's Issues

Using spin operator with V1 vectors

Some tests are trying to verify usage of spin method for vectors, generated as v1 vectors which do not support this.

    public void immutableCVWithTerminator()
    public void spinOverMaxCVLength()
    public void spinSortValidation()

Correlation Vector 3.0 Support

Hi, excuse my ignorance, I'm still trying to familiarize myself with vector clocks and tracing through distributed systems.

Reading through the cV 3.0 spec suggests that there should be an implicit reset operation when performing increment, spin, or extend which truncates the vector clock and spits out a suffix S and a replacement M that should be recorded to allow for reconstructing the trace later.

I can't seem to find this functionality in this implementation. I'm guessing this is because it implements cV 2.1 not 3.0. Is this correct?

If so, is there a timeline for 3.0 spec support?

I'm tempted to attempt extending this implementation myself, but still need to do more research as I'm unsure how much of an undertaking that would be. Any further advice/warnings/cautions with respect to this would be greatly appreciated.

Add project to maven repo

I would like to be able to use this project from a gradle import and not have to download and install the project locally

Something like implementation 'com.Microsoft:CorrelationVector-Java:v1.0'

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.