brokder_grpc_pub.go 379 B

12345678910111213141516
  1. package broker
  2. import (
  3. "github.com/seaweedfs/seaweedfs/weed/pb/mq_pb"
  4. )
  5. /*
  6. The messages is buffered in memory, and saved to filer under
  7. /topics/<topic>/<date>/<hour>/<segment>/*.msg
  8. /topics/<topic>/<date>/<hour>/segment
  9. /topics/<topic>/info/segment_<id>.meta
  10. */
  11. func (broker *MessageQueueBroker) Publish(stream mq_pb.SeaweedMessaging_PublishServer) error {
  12. return nil
  13. }