esdatapub

package module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 3, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

README

Event Store Data Publisher

This package provides a general event publishing mechanism for oraeventstore. It essentially uses orapub for the actual publishing, providing a process wrapper that first calls Initialize on all the registered event processors, then calls ProcessEvent for each event, which distribute the event to each event processor.

This event publisher connects to Oracle using the oraconn package, taking connection parameters from the environment.

Contributing

To contribute, you must certify you agree with the Developer Certificate of Origin by signing your commits via git -s. To create a signature, configure your user name and email address in git. Sign with your real name, do not use pseudonyms or submit anonymous commits.

In terms of workflow:

  1. For significant changes or improvement, create an issue before commencing work.
  2. Fork the respository, and create a branch for your edits.
  3. Add tests that cover your changes, unit tests for smaller changes, acceptance test for more significant functionality.
  4. Run gofmt on each file you change before committing your changes.
  5. Run golint on each file you change before committing your changes.
  6. Make sure all the tests pass before committing your changes.
  7. Commit your changes and issue a pull request.

License

(c) 2016 Fidelity Investments Licensed under the Apache License, Version 2.0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetInitializedPublisher

func GetInitializedPublisher() (*orapub.OraPub, error)

Returning publisher to user so that they are able to perform fine-grained operations including health check

func ProcessEventRecords

func ProcessEventRecords() error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL