Skip to content

Define general behavior for object notifications #193

@alexvanin

Description

@alexvanin

NeoFS Storage node should support notification extension: optional notification channel to produce events. This channel and event structure defined depending on extension implementation. API should define general behavior for object notifications (maybe in neofs-spec?) and well-known object attributes.

General behavior:

  • Notification event consists of topic and message
  • There is only object notifications for now
  • Object notification message is always object address (format defined by notification extension)
  • Object notification topic is defined in __NEOFS__TICK_TOPIC header (UTF-8 string)
  • Node produces object notifications at epoch defined in __NEOFS__TICK_EPOCH header which is Base10 encoded number
  • Node produces object notification if both __NEOFS__TICK_TOPIC and __NEOFS__TICK_EPOCH are set in object attributes

Metadata

Metadata

Assignees

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