Plugin Development Guide
This guide explains how to develop plugins for FinFocus Core.
Protocol Overview
Section titled “Protocol Overview”Plugins communicate with the Core engine via gRPC. The protocol is defined in the finfocus-spec repository.
Conformance Testing
Section titled “Conformance Testing”To ensure your plugin is compliant with the protocol, use the conformance testing tool:
finfocus plugin conformance ./path/to/your-pluginBest Practices
Section titled “Best Practices”- Error Handling: Return appropriate gRPC error codes (NotFound, InvalidArgument, etc.).
- Timeouts: Respect context cancellations and timeouts.
- Performance: Optimize for batch processing where possible.