Giter Site home page Giter Site logo

kgofron / ad-kafka-interface Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ess-dmsc/ad-kafka-interface

0.0 0.0 0.0 529 KB

EPICS areaDetector Kafka plugin and Kafka driver.

License: BSD 2-Clause "Simplified" License

C++ 96.44% C 0.14% Makefile 1.40% CMake 1.55% Batchfile 0.47%

ad-kafka-interface's Introduction

Area detector Kafka interface

This repository contains two separate projects which facilitates the transmission of data between an EPICS IOC and an Apache Kafka broker. The two projects are:

Apache Kafka is an open-source platform for handling streaming data using or more data brokers in order to maximize throughput and reliability. More information on Apache Kafka can be found at the website of that project.

For serializing and de-serializing the areaDetector (NDArray) data, Google FlatBuffers is used. Serializing data using FlatBuffers is fast with a relatively small memory overhead while being easier to use than C-structs.

Documentation

Instructions on how to compile and use the driver and the plugin can be found in the README-files in the corresponding directories (ADKafka_README.md and ADPluginKafka_README.md). The code is documented using the doxygen syntax. Simply run doxygen in the root directory of the repository to generate the HTML version of the documentation in documentation/html. The text in the README-files will also be included in the generated HTMl documentation.

Unit tests

The repository contains a directory with code for unit tests of the two projects. Do note that the build system of the unit tests (specifically the CMake file) will most likely require some modification to work on your system. Due to differences in EPICS installations, the CMake file has only been tested on the development machine (running MacOSX).

The unit tests use GTest/GMock for running the test and this library will be downloaded and compiled by CMake when running it. The process for compiling and running the unit tests is as follows:

cd ad-kafka-interface
mkdir build
cd build
cmake ..
make
cd unit_tests
./unit_tests

ad-kafka-interface's People

Contributors

freddieakeroyd avatar skytoground avatar tomtrafford avatar ulrikpedersen avatar

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.