MaxLaurieHutchinson / EventHandlingDemo

A C# demonstration of CloudEvents with extended data versioning capabilities, following CNCF specifications.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EventHandlingDemo

This repository contains a C# project demonstrating the implementation and usage of CloudEvents, extended with custom data versioning capabilities. The project adheres to the Cloud Native Computing Foundation (CNCF) CloudEvents specifications.

Features

  • Implementation of CloudEvents standard attributes as per CNCF specification.
  • Extension of CloudEvents to include data versioning within event metadata.
  • Serialization of CloudEvents to JSON format.
  • Writing CloudEvents to timestamped JSON files in a specified directory.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • .NET (compatible with your project's .NET version, e.g., .NET 7.0)

Installing

  1. Clone the repository to your local machine:
    git clone https://github.com/MaxLaurieHutchinson/EventHandlingDemo.git
  2. Navigate to the cloned directory.
  3. Open the project with your preferred IDE (e.g., Visual Studio).

Running the Tests

To run the project and see the demonstration:

  1. Build and run the EventHandlingDemo project in your IDE.
  2. Check the output in the console window and the generated JSON files in the EventDemoData directory.

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

For the versions available, see the tags on this repository.

Authors

  • Max Laurie Hutchinson

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Acknowledgments

About

A C# demonstration of CloudEvents with extended data versioning capabilities, following CNCF specifications.


Languages

Language:C# 100.0%