com.jn.agileway.dmmq.core.Producer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of agileway-dmmq Show documentation
Show all versions of agileway-dmmq Show documentation
a memory message queue based on disruptor
The newest version!
package com.jn.agileway.dmmq.core;
import com.jn.langx.annotation.NonNull;
import com.jn.langx.annotation.Nullable;
public interface Producer extends TopicAllocatorAware, MessageTopicDispatcherAware {
void publish(@NonNull M message);
void publish(@Nullable String topicName, @NonNull M message);
}