blob: 3b2f25be2d950d85f24654b6c39fe52c0720562a [file] [log] [blame]
/**
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package io.streamnative.pulsar.manager.client.config;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.apache.pulsar.client.api.RegexSubscriptionMode;
import org.apache.pulsar.client.api.SubscriptionType;
import org.apache.pulsar.common.schema.SchemaType;
import java.lang.reflect.Method;
/**
* Pulsar PulsarConsumer Configuration{@link PulsarListener} class.
*/
@Getter
@Setter
@ToString
public class ConsumerConfigurationData {
private String id;
private String[] topics;
private String topicsPattern;
private Long ackTimeout;
private Long negativeAckRedeliveryDelay;
private Integer receiverQueueSize;
private Long acknowledgmentGroupTime;
private Integer priorityLevel;
private Method method;
private Class schema;
private SchemaType schemaType;
private Object bean;
private String subscriptionName;
private SubscriptionType subscriptionType;
private Boolean autoUpdatePartitions;
private String consumerName;
private RegexSubscriptionMode regexSubscriptionMode;
}