schedule jobs

This commit is contained in:
chrislu
2024-01-26 14:09:57 -08:00
parent 08c5fba825
commit 91af1f3069
2 changed files with 182 additions and 0 deletions

View File

@@ -28,6 +28,7 @@ type TopicPublisher struct {
grpcDialOption grpc.DialOption
sync.Mutex // protects grpc
config *PublisherConfiguration
jobs []*EachPartitionPublishJob
}
func NewTopicPublisher(namespace, topic string, config *PublisherConfiguration) *TopicPublisher {