Class Consumer
java.lang.Object
org.springframework.data.redis.connection.stream.Consumer
Value object representing a Stream consumer within a consumer group. Group name and consumer name are encoded as
keys.
- Author:
- Mark Paluch
-
Method Summary
-
Method Details
-
from
Create a new consumer.- Parameters:
group
- name of the consumer group, must not be null or empty.name
- name of the consumer, must not be null or empty.- Returns:
- the consumer
Consumer
object.
-
toString
-
getGroup
-
getName
-
equals
-
hashCode
public int hashCode()
-