@Documented
@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface Topic
PubSubClient
.Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
value
Set the name of the topic used to publish messages.
|
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
configuration
Defines the name of a particular configuration used for a Publisher.
|
java.lang.String |
contentType
Defines the Content-Type to be used for message serialization.
|
public abstract java.lang.String value
projects/<project_name>/topics/<topic_name>