com.jn.dmmq.core.Producer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dmmq-core Show documentation
Show all versions of dmmq-core Show documentation
A memory , mini Message Queue built by disruptor
The newest version!
package com.jn.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);
}