Skip to content

Commit 4270a5e

Browse files
authored
Merge pull request #75 from duhenglucky/MessageBuilder
[ISSUE #76]Remove pullGenericMessages in PullConsumer
2 parents 54f8dcf + 6ed8b5d commit 4270a5e

2 files changed

Lines changed: 0 additions & 78 deletions

File tree

openmessaging-api-samples/src/main/java/io/openmessaging/samples/consumer/GenericPullConsumerApp.java

Lines changed: 0 additions & 69 deletions
This file was deleted.

openmessaging-api/src/main/java/io/openmessaging/api/PullConsumer.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -69,15 +69,6 @@ interface TopicPartitionChangeListener {
6969
*/
7070
List<Message> poll(long timeout);
7171

72-
/**
73-
* Fetch Objects for the topics or partitions specified using assign API. It is an error to not have subscribed to
74-
* any topics or partitions before polling for data.
75-
*
76-
* @param timeout in millisecond
77-
* @return
78-
*/
79-
<T> List<GenericMessage<T>> pollGenericMessages(long timeout);
80-
8172
/**
8273
* Overrides the fetch offsets that the consumer will use on the next {@link #poll(long)} }. If this API is invoked
8374
* for the same message queue more than once, the latest offset will be used on the next poll(). Note that you may

0 commit comments

Comments
 (0)