Skip to content

Create ProxyBuffer RPC methods to check if payloads have been processed by the registry #175

Open
@mmiranda96

Description

@mmiranda96

ProxyBuffer exposes two methods for registering devices: RegisterDevice and BatchRegisterDevice. Internally, these register the device(s) in an internal SQLite database. Additionally, the service has an async process (syncer) that periodically reads the local database to find unregistered records, send them to an external registry, and mark them as registered.

However, we don't have a way of figuring out which records have already been processed in the registry besides manually querying the internal database (which might not be an easy thing to do depending on the SQLite config).

We should have additional RPC methods in ProxyBuffer to check this status: something like CheckDeviceStatus and BatchCheckDeviceStatus.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions