Created
May 10, 2017 00:51
-
-
Save beders/00f4a5a606d92dfc1446985f55dfb179 to your computer and use it in GitHub Desktop.
Alternative Pubsub API design
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// TODO add imports | |
public class QuickstartSample { | |
public static void main(String... args) throws Exception { | |
Topic t = TopicAdmin.getDefault().createTopic("my-new-topic"); | |
System.out.printf("Topic %s:%s created.\n", topic.getProject(), topic.getName()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment