Documentation ¶
Overview ¶
Ensign maintains two separate storage locations on disk: the event store which is intended to be an append-only fast disk write for incoming events and a meta store which is used to persist operational metadata such as topic and placement information.
Index ¶
- func Open(conf config.StorageConfig) (data EventStore, meta MetaStore, err error)
- func OpenEvents(conf config.StorageConfig) (*events.Store, error)
- func OpenMeta(conf config.StorageConfig) (*meta.Store, error)
- type EventStore
- type GroupStore
- type MetaStore
- type Store
- type TopicNamesStore
- type TopicStore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Open ¶
func Open(conf config.StorageConfig) (data EventStore, meta MetaStore, err error)
func OpenEvents ¶
func OpenEvents(conf config.StorageConfig) (*events.Store, error)
Types ¶
type EventStore ¶
type EventStore interface { Store }
type GroupStore ¶ added in v0.5.1
type GroupStore interface { ListGroups(projectID ulid.ULID) iterator.GroupIterator GetOrCreateGroup(*api.ConsumerGroup) (bool, error) UpdateGroup(*api.ConsumerGroup) error DeleteGroup(*api.ConsumerGroup) error }
type MetaStore ¶
type MetaStore interface { Store TopicStore TopicNamesStore }
type TopicNamesStore ¶ added in v0.5.1
type TopicNamesStore interface { ListTopicNames(projectID ulid.ULID) iterator.TopicNamesIterator TopicExists(in *api.TopicName) (*api.TopicExistsInfo, error) TopicName(topicID ulid.ULID) (string, error) }
type TopicStore ¶
Click to show internal directories.
Click to hide internal directories.