0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-06-01 20:18:56 +02:00
dendrite/src/github.com/matrix-org/dendrite/roomserver/types/types.go
Mark Haines 41c6a3737e A kafkaesque room event consumer for the roomserver. (#1)
* A kafkaesque room event consumer for the roomserver.

Implement the main input loop for the roomserver.

It will receive events from a kafkaesque event source and track
where it is in the stream.

It currently does nothing with the events it consumes.
2017-02-03 13:52:32 +00:00

11 lines
296 B
Go

// Package types provides the types that are used internally within the roomserver.
package types
// A PartitionOffset is the offset into a partition of the input log.
type PartitionOffset struct {
// The ID of the partition.
Partition int32
// The offset into the partition.
Offset int64
}