Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- ABORTED - Enum constant in enum class org.zalando.fahrschein.domain.BatchItemResponse.PublishingStatus
- AbstractDataChangeEvent<T> - Class in org.zalando.fahrschein.domain
- AbstractDataChangeEvent(Metadata, String, DataOperation, T) - Constructor for class org.zalando.fahrschein.domain.AbstractDataChangeEvent
- accept(List<T>) - Method in interface org.zalando.fahrschein.Listener
- AccessTokenProvider - Interface in org.zalando.fahrschein
- acquireLock(String, String) - Method in class org.zalando.fahrschein.SimplePartitionManager
- addAdmin(String, String) - Method in class org.zalando.fahrschein.AuthorizationBuilder
- addReader(String, String) - Method in class org.zalando.fahrschein.AuthorizationBuilder
- addStreamId(Subscription, String) - Method in interface org.zalando.fahrschein.CursorManager
- addStreamId(Subscription, String) - Method in class org.zalando.fahrschein.ManagedCursorManager
- addSubscription(Subscription) - Method in interface org.zalando.fahrschein.CursorManager
- addSubscription(Subscription) - Method in class org.zalando.fahrschein.ManagedCursorManager
- afterPublish() - Method in interface org.zalando.fahrschein.EventPublishingHandler
-
This method is invoked after the publishing of events has happened, regardless if an error occurred during publishing or not.
- ALL - Enum constant in enum class org.zalando.fahrschein.PublishingRetryStrategies
- ALL_FROM_FIRST_FAILURE - Enum constant in enum class org.zalando.fahrschein.PublishingRetryStrategies
- ANYONE - Static variable in class org.zalando.fahrschein.domain.Authorization.AuthorizationAttribute
- authorization() - Static method in class org.zalando.fahrschein.AuthorizationBuilder
- Authorization - Class in org.zalando.fahrschein.domain
- Authorization(List<Authorization.AuthorizationAttribute>, List<Authorization.AuthorizationAttribute>) - Constructor for class org.zalando.fahrschein.domain.Authorization
- Authorization.AuthorizationAttribute - Class in org.zalando.fahrschein.domain
- AuthorizationAttribute(String, String) - Constructor for class org.zalando.fahrschein.domain.Authorization.AuthorizationAttribute
- AuthorizationBuilder - Class in org.zalando.fahrschein
-
Use factory method
AuthorizationBuilder.authorization()to create an allow-all authorization object and useAuthorizationBuilder.withAdmins(java.util.List<org.zalando.fahrschein.domain.Authorization.AuthorizationAttribute>)/AuthorizationBuilder.withReaders(java.util.List<org.zalando.fahrschein.domain.Authorization.AuthorizationAttribute>)methods to override admins and/or readers lists. - AuthorizationProvider - Interface in org.zalando.fahrschein
B
- BackoffException - Exception Class in org.zalando.fahrschein
- BackoffException(IOException, int) - Constructor for exception class org.zalando.fahrschein.BackoffException
- BackoffStrategy - Interface in org.zalando.fahrschein
- BatchHandler - Interface in org.zalando.fahrschein
-
Allows wrapping
Listener.accept(List)andCursorManager.onSuccess(String, Cursor)inside one transaction, with automatic rollback if cursor commit fails. - BatchItemResponse - Class in org.zalando.fahrschein.domain
- BatchItemResponse(String, BatchItemResponse.PublishingStatus, BatchItemResponse.Step, String) - Constructor for class org.zalando.fahrschein.domain.BatchItemResponse
- BatchItemResponse.PublishingStatus - Enum Class in org.zalando.fahrschein.domain
- BatchItemResponse.Step - Enum Class in org.zalando.fahrschein.domain
- BEGIN - Enum constant in enum class org.zalando.fahrschein.domain.SubscriptionRequest.Position
- build() - Method in class org.zalando.fahrschein.AuthorizationBuilder
- build() - Method in class org.zalando.fahrschein.NakadiClientBuilder
-
Creates a new instance of
NakadiClient. - builder(URI, RequestFactory) - Static method in class org.zalando.fahrschein.NakadiClient
-
Returns a new Builder that will make use of the given
RequestFactory.
C
- calculateDelay(double) - Method in class org.zalando.fahrschein.EqualJitterBackoffStrategy
- calculateDelay(double) - Method in class org.zalando.fahrschein.ExponentialBackoffStrategy
- calculateDelay(double) - Method in class org.zalando.fahrschein.FullJitterBackoffStrategy
- call() - Method in interface org.zalando.fahrschein.IOCallable
- call(int, IOException, IOCallable<T>) - Method in interface org.zalando.fahrschein.BackoffStrategy
- call(int, IOException, IOCallable<T>) - Method in class org.zalando.fahrschein.ExponentialBackoffStrategy
- call(int, IOException, IOCallable<T>) - Method in class org.zalando.fahrschein.NoBackoffStrategy
- call(int, EventPersistenceException) - Method in interface org.zalando.fahrschein.ExceptionAwareCallable
- call(int, EventPersistenceException, ExceptionAwareCallable<T>) - Method in interface org.zalando.fahrschein.BackoffStrategy
- call(int, EventPersistenceException, ExceptionAwareCallable<T>) - Method in class org.zalando.fahrschein.ExponentialBackoffStrategy
- call(int, EventPersistenceException, ExceptionAwareCallable<T>) - Method in class org.zalando.fahrschein.NoBackoffStrategy
- checkArgument(boolean) - Static method in class org.zalando.fahrschein.Preconditions
- checkArgument(boolean, Object) - Static method in class org.zalando.fahrschein.Preconditions
- checkArgument(boolean, String, Object...) - Static method in class org.zalando.fahrschein.Preconditions
- checkNotNull(T) - Static method in class org.zalando.fahrschein.Preconditions
- checkNotNull(T, Object) - Static method in class org.zalando.fahrschein.Preconditions
- checkNotNull(T, String, Object...) - Static method in class org.zalando.fahrschein.Preconditions
- checkState(boolean) - Static method in class org.zalando.fahrschein.Preconditions
- checkState(boolean, Object) - Static method in class org.zalando.fahrschein.Preconditions
- checkState(boolean, String, Object...) - Static method in class org.zalando.fahrschein.Preconditions
- CREATE - Enum constant in enum class org.zalando.fahrschein.domain.DataOperation
- createRequest(URI, String) - Method in class org.zalando.fahrschein.IdentityAcceptEncodingRequestFactory
- createRequest(URI, String) - Method in class org.zalando.fahrschein.UserAgentRequestFactory
- Cursor - Class in org.zalando.fahrschein.domain
- Cursor(String, String) - Constructor for class org.zalando.fahrschein.domain.Cursor
- Cursor(String, String, String) - Constructor for class org.zalando.fahrschein.domain.Cursor
- Cursor(String, String, String, String) - Constructor for class org.zalando.fahrschein.domain.Cursor
- CursorCommitException - Exception Class in org.zalando.fahrschein
- CursorCommitException(int, Cursor, String, IOException) - Constructor for exception class org.zalando.fahrschein.CursorCommitException
- CursorCommitException(int, Cursor, String, String) - Constructor for exception class org.zalando.fahrschein.CursorCommitException
- CursorManager - Interface in org.zalando.fahrschein
-
Manages cursor offsets for one consumer.
- CURSORS - Enum constant in enum class org.zalando.fahrschein.domain.SubscriptionRequest.Position
D
- DataChangeEvent<T> - Interface in org.zalando.fahrschein.domain
- DataOperation - Enum Class in org.zalando.fahrschein.domain
-
The type of operation executed on the entity.
- DEFAULT_BACKOFF_FACTOR - Static variable in class org.zalando.fahrschein.ExponentialBackoffStrategy
- DEFAULT_INITIAL_DELAY - Static variable in class org.zalando.fahrschein.ExponentialBackoffStrategy
- DEFAULT_MAX_DELAY - Static variable in class org.zalando.fahrschein.ExponentialBackoffStrategy
- DELETE - Enum constant in enum class org.zalando.fahrschein.domain.DataOperation
- deleteSubscription(String) - Method in class org.zalando.fahrschein.NakadiClient
-
Delete subscription based on subscription ID.
- disablePublishingRetry() - Method in class org.zalando.fahrschein.NakadiClientBuilder
E
- END - Enum constant in enum class org.zalando.fahrschein.domain.SubscriptionRequest.Position
- ENRICHING - Enum constant in enum class org.zalando.fahrschein.domain.BatchItemResponse.Step
- EqualJitterBackoffStrategy - Class in org.zalando.fahrschein
- EqualJitterBackoffStrategy() - Constructor for class org.zalando.fahrschein.EqualJitterBackoffStrategy
- EqualJitterBackoffStrategy(int, double, long, int) - Constructor for class org.zalando.fahrschein.EqualJitterBackoffStrategy
- equals(Object) - Method in class org.zalando.fahrschein.domain.Authorization.AuthorizationAttribute
- equals(Object) - Method in class org.zalando.fahrschein.domain.Cursor
- equals(Object) - Method in class org.zalando.fahrschein.domain.Metadata
- Event - Interface in org.zalando.fahrschein.domain
- EventAlreadyProcessedException - Exception Class in org.zalando.fahrschein
- EventAlreadyProcessedException(String) - Constructor for exception class org.zalando.fahrschein.EventAlreadyProcessedException
- EventAlreadyProcessedException(String, Throwable) - Constructor for exception class org.zalando.fahrschein.EventAlreadyProcessedException
- EventAlreadyProcessedException(Throwable) - Constructor for exception class org.zalando.fahrschein.EventAlreadyProcessedException
- EventPersistenceException - Exception Class in org.zalando.fahrschein
-
Exception thrown for server-side (partial) failures of event persistence, e.g.
- EventPersistenceException(List<?>, RawEventPersistenceException) - Constructor for exception class org.zalando.fahrschein.EventPersistenceException
- EventProcessingException - Exception Class in org.zalando.fahrschein
- EventProcessingException(String) - Constructor for exception class org.zalando.fahrschein.EventProcessingException
- EventProcessingException(String, Throwable) - Constructor for exception class org.zalando.fahrschein.EventProcessingException
- EventProcessingException(Throwable) - Constructor for exception class org.zalando.fahrschein.EventProcessingException
- EventPublishingException - Exception Class in org.zalando.fahrschein
-
Base class for exceptions thrown when publishing events to Nakadi.
- EventPublishingException(BatchItemResponse[]) - Constructor for exception class org.zalando.fahrschein.EventPublishingException
- EventPublishingHandler - Interface in org.zalando.fahrschein
-
Interface that offers a way to add additional features around the
NakadiClient. - EventReader<T> - Interface in org.zalando.fahrschein
- EventValidationException - Exception Class in org.zalando.fahrschein
-
Exception thrown during publishing of events, in case the batch fails the validation phase.
- EventValidationException(BatchItemResponse[]) - Constructor for exception class org.zalando.fahrschein.EventValidationException
- ExceptionAwareCallable<T> - Interface in org.zalando.fahrschein
- ExponentialBackoffStrategy - Class in org.zalando.fahrschein
- ExponentialBackoffStrategy() - Constructor for class org.zalando.fahrschein.ExponentialBackoffStrategy
- ExponentialBackoffStrategy(int, double, long, int) - Constructor for class org.zalando.fahrschein.ExponentialBackoffStrategy
- ExponentialBackoffStrategy(ExponentialBackoffStrategy) - Constructor for class org.zalando.fahrschein.ExponentialBackoffStrategy
F
- FAILED - Enum constant in enum class org.zalando.fahrschein.domain.BatchItemResponse.PublishingStatus
- FAILED_ONLY - Enum constant in enum class org.zalando.fahrschein.PublishingRetryStrategies
- FullJitterBackoffStrategy - Class in org.zalando.fahrschein
- FullJitterBackoffStrategy() - Constructor for class org.zalando.fahrschein.FullJitterBackoffStrategy
- FullJitterBackoffStrategy(int, double, long, int) - Constructor for class org.zalando.fahrschein.FullJitterBackoffStrategy
G
- getAccessToken() - Method in interface org.zalando.fahrschein.AccessTokenProvider
- getAccessToken() - Method in class org.zalando.fahrschein.PlatformAccessTokenProvider
- getAccessToken() - Method in class org.zalando.fahrschein.ZignAccessTokenProvider
-
Deprecated.
- getAdmins() - Method in class org.zalando.fahrschein.domain.Authorization
- getAuthorization() - Method in class org.zalando.fahrschein.domain.Subscription
- getAuthorization() - Method in class org.zalando.fahrschein.domain.SubscriptionRequest
- getAuthorizationHeader() - Method in interface org.zalando.fahrschein.AccessTokenProvider
- getAuthorizationHeader() - Method in interface org.zalando.fahrschein.AuthorizationProvider
- getBatchFlushTimeout() - Method in class org.zalando.fahrschein.StreamParameters
- getBatchLimit() - Method in class org.zalando.fahrschein.StreamParameters
- getBatchTimespan() - Method in class org.zalando.fahrschein.StreamParameters
- getCause() - Method in exception class org.zalando.fahrschein.BackoffException
- getCommitTimeout() - Method in class org.zalando.fahrschein.StreamParameters
- getConsumerGroup() - Method in class org.zalando.fahrschein.domain.Subscription
- getConsumerGroup() - Method in class org.zalando.fahrschein.domain.SubscriptionRequest
- getCreatedAt() - Method in class org.zalando.fahrschein.domain.Subscription
- getCursor() - Method in exception class org.zalando.fahrschein.CursorCommitException
- getCursors(String) - Method in interface org.zalando.fahrschein.CursorManager
- getCursors(String) - Method in class org.zalando.fahrschein.ManagedCursorManager
- getCursorToken() - Method in class org.zalando.fahrschein.domain.Cursor
-
A token identifying this cursor and offset which has to be used when committing using the subscription api.
- getData() - Method in class org.zalando.fahrschein.domain.AbstractDataChangeEvent
- getData() - Method in interface org.zalando.fahrschein.domain.DataChangeEvent
- getDataOp() - Method in class org.zalando.fahrschein.domain.AbstractDataChangeEvent
- getDataOp() - Method in interface org.zalando.fahrschein.domain.DataChangeEvent
- getDataType() - Method in class org.zalando.fahrschein.domain.AbstractDataChangeEvent
- getDataType() - Method in class org.zalando.fahrschein.domain.Authorization.AuthorizationAttribute
- getDataType() - Method in interface org.zalando.fahrschein.domain.DataChangeEvent
- getDetail() - Method in class org.zalando.fahrschein.domain.BatchItemResponse
- getDetail() - Method in exception class org.zalando.fahrschein.IOProblem
- getEid() - Method in class org.zalando.fahrschein.domain.BatchItemResponse
- getEid() - Method in class org.zalando.fahrschein.domain.Metadata
- getEventName() - Method in class org.zalando.fahrschein.domain.Lock
- getEventsForRetry(EventPersistenceException) - Method in interface org.zalando.fahrschein.PublishingRetryStrategy
- getEventType() - Method in class org.zalando.fahrschein.domain.Cursor
-
The event type of this cursor.
- getEventType() - Method in class org.zalando.fahrschein.domain.Metadata
- getEventTypes() - Method in class org.zalando.fahrschein.domain.Subscription
- getEventTypes() - Method in class org.zalando.fahrschein.domain.SubscriptionRequest
- getFlowId() - Method in class org.zalando.fahrschein.domain.Metadata
- getId() - Method in class org.zalando.fahrschein.domain.Subscription
- getInitialCursors() - Method in class org.zalando.fahrschein.domain.SubscriptionRequest
- getInputEvents() - Method in exception class org.zalando.fahrschein.EventPersistenceException
- getInstance() - Method in exception class org.zalando.fahrschein.IOProblem
- getLockedBy() - Method in class org.zalando.fahrschein.domain.Lock
- getMaxUncommittedEvents() - Method in class org.zalando.fahrschein.StreamParameters
- getMetadata() - Method in class org.zalando.fahrschein.domain.AbstractDataChangeEvent
- getMetadata() - Method in interface org.zalando.fahrschein.domain.DataChangeEvent
- getMetadata() - Method in interface org.zalando.fahrschein.domain.Event
- getNewestAvailableOffset() - Method in class org.zalando.fahrschein.domain.Partition
- getOccurredAt() - Method in class org.zalando.fahrschein.domain.Metadata
- getOffset() - Method in class org.zalando.fahrschein.domain.Cursor
- getOldestAvailableOffset() - Method in class org.zalando.fahrschein.domain.Partition
- getOperation() - Method in enum class org.zalando.fahrschein.domain.DataOperation
- getOwningApplication() - Method in class org.zalando.fahrschein.domain.Subscription
- getOwningApplication() - Method in class org.zalando.fahrschein.domain.SubscriptionRequest
- getPartition() - Method in class org.zalando.fahrschein.domain.Cursor
- getPartition() - Method in class org.zalando.fahrschein.domain.Metadata
- getPartition() - Method in class org.zalando.fahrschein.domain.Partition
- getPartitionCompactionKey() - Method in class org.zalando.fahrschein.domain.Metadata
- getPartitions() - Method in class org.zalando.fahrschein.domain.Lock
- getPartitions(String) - Method in class org.zalando.fahrschein.NakadiClient
-
Resolves a list of partitions for the given eventName.
- getPublishedBy() - Method in class org.zalando.fahrschein.domain.Metadata
- getPublishingStatus() - Method in class org.zalando.fahrschein.domain.BatchItemResponse
- getReaders() - Method in class org.zalando.fahrschein.domain.Authorization
- getReadFrom() - Method in class org.zalando.fahrschein.domain.SubscriptionRequest
- getReceivedAt() - Method in class org.zalando.fahrschein.domain.Metadata
- getResponses() - Method in exception class org.zalando.fahrschein.EventPublishingException
- getRetries() - Method in exception class org.zalando.fahrschein.BackoffException
- getSpanCtx() - Method in class org.zalando.fahrschein.domain.Metadata
- getStatusCode() - Method in exception class org.zalando.fahrschein.CursorCommitException
- getStatusCode() - Method in exception class org.zalando.fahrschein.IOProblem
- getStep() - Method in class org.zalando.fahrschein.domain.BatchItemResponse
- getStreamKeepAliveLimit() - Method in class org.zalando.fahrschein.StreamParameters
- getStreamLimit() - Method in class org.zalando.fahrschein.StreamParameters
- getStreamTimeout() - Method in class org.zalando.fahrschein.StreamParameters
- getSubscriptionId() - Method in exception class org.zalando.fahrschein.CursorCommitException
- getTitle() - Method in exception class org.zalando.fahrschein.IOProblem
- getType() - Method in exception class org.zalando.fahrschein.IOProblem
- getValue() - Method in class org.zalando.fahrschein.domain.Authorization.AuthorizationAttribute
- getVersion() - Method in class org.zalando.fahrschein.domain.Metadata
H
- hashCode() - Method in class org.zalando.fahrschein.domain.Authorization.AuthorizationAttribute
- hashCode() - Method in class org.zalando.fahrschein.domain.Cursor
- hashCode() - Method in class org.zalando.fahrschein.domain.Metadata
I
- IdentityAcceptEncodingRequestFactory - Class in org.zalando.fahrschein
- IdentityAcceptEncodingRequestFactory(RequestFactory) - Constructor for class org.zalando.fahrschein.IdentityAcceptEncodingRequestFactory
- IOCallable<T> - Interface in org.zalando.fahrschein
- IOProblem - Exception Class in org.zalando.fahrschein
- IOProblem(URI, String, int) - Constructor for exception class org.zalando.fahrschein.IOProblem
- IOProblem(URI, String, int, String) - Constructor for exception class org.zalando.fahrschein.IOProblem
- IOProblem(URI, String, int, String, URI) - Constructor for exception class org.zalando.fahrschein.IOProblem
- IORunnable - Interface in org.zalando.fahrschein
L
- listen(Class<T>, Listener<T>) - Method in interface org.zalando.fahrschein.StreamBuilder
- listen(EventReader<T>, Listener<T>) - Method in interface org.zalando.fahrschein.StreamBuilder
- Listener<T> - Interface in org.zalando.fahrschein
- Lock - Class in org.zalando.fahrschein.domain
- Lock(String, String, List<Partition>) - Constructor for class org.zalando.fahrschein.domain.Lock
- lockPartitions(String, List<Partition>, String) - Method in interface org.zalando.fahrschein.PartitionManager
-
Locks partitions for one event.
- lockPartitions(String, List<Partition>, String) - Method in class org.zalando.fahrschein.SimplePartitionManager
M
- ManagedCursorManager - Class in org.zalando.fahrschein
- ManagedCursorManager(URI, RequestFactory) - Constructor for class org.zalando.fahrschein.ManagedCursorManager
- ManagedCursorManager(URI, RequestFactory, AuthorizationProvider) - Constructor for class org.zalando.fahrschein.ManagedCursorManager
- MappingEventReader<T> - Class in org.zalando.fahrschein
- MappingEventReader(Class<T>, ObjectMapper) - Constructor for class org.zalando.fahrschein.MappingEventReader
- markErrorWhileConsuming() - Method in interface org.zalando.fahrschein.MetricsCollector
- markErrorWhileConsuming() - Method in class org.zalando.fahrschein.MultiplexingMetricsCollector
- markErrorWhileConsuming() - Method in class org.zalando.fahrschein.NoMetricsCollector
- markEventsReceived(int) - Method in interface org.zalando.fahrschein.MetricsCollector
- markEventsReceived(int) - Method in class org.zalando.fahrschein.MultiplexingMetricsCollector
- markEventsReceived(int) - Method in class org.zalando.fahrschein.NoMetricsCollector
- markMessageReceived() - Method in interface org.zalando.fahrschein.MetricsCollector
- markMessageReceived() - Method in class org.zalando.fahrschein.MultiplexingMetricsCollector
- markMessageReceived() - Method in class org.zalando.fahrschein.NoMetricsCollector
- markMessageSuccessfullyProcessed() - Method in interface org.zalando.fahrschein.MetricsCollector
- markMessageSuccessfullyProcessed() - Method in class org.zalando.fahrschein.MultiplexingMetricsCollector
- markMessageSuccessfullyProcessed() - Method in class org.zalando.fahrschein.NoMetricsCollector
- markReconnection() - Method in interface org.zalando.fahrschein.MetricsCollector
- markReconnection() - Method in class org.zalando.fahrschein.MultiplexingMetricsCollector
- markReconnection() - Method in class org.zalando.fahrschein.NoMetricsCollector
- Metadata - Class in org.zalando.fahrschein.domain
- Metadata(String, String, OffsetDateTime, String, String, String, OffsetDateTime, String) - Constructor for class org.zalando.fahrschein.domain.Metadata
- Metadata(String, String, OffsetDateTime, String, String, String, OffsetDateTime, String, Map<String, String>, String) - Constructor for class org.zalando.fahrschein.domain.Metadata
- Metadata(String, OffsetDateTime) - Constructor for class org.zalando.fahrschein.domain.Metadata
- Metadata(String, OffsetDateTime, String, Map<String, String>) - Constructor for class org.zalando.fahrschein.domain.Metadata
- MetricsCollector - Interface in org.zalando.fahrschein
- MultiplexingMetricsCollector - Class in org.zalando.fahrschein
- MultiplexingMetricsCollector(List<MetricsCollector>) - Constructor for class org.zalando.fahrschein.MultiplexingMetricsCollector
N
- NakadiClient - Class in org.zalando.fahrschein
-
General implementation of the Nakadi Client used within this Library.
- NakadiClientBuilder - Class in org.zalando.fahrschein
- NakadiClientBuilder(URI, ObjectMapper, AuthorizationProvider, RequestFactory, CursorManager, List<EventPublishingHandler>, BackoffStrategy, PublishingRetryStrategies) - Constructor for class org.zalando.fahrschein.NakadiClientBuilder
- NO_METRICS_COLLECTOR - Static variable in class org.zalando.fahrschein.NoMetricsCollector
- NoBackoffStrategy - Class in org.zalando.fahrschein
- NoBackoffStrategy() - Constructor for class org.zalando.fahrschein.NoBackoffStrategy
- NoMetricsCollector - Class in org.zalando.fahrschein
- NoMetricsCollector() - Constructor for class org.zalando.fahrschein.NoMetricsCollector
- NONE - Enum constant in enum class org.zalando.fahrschein.domain.BatchItemResponse.Step
- NONE - Enum constant in enum class org.zalando.fahrschein.PublishingRetryStrategies
O
- onError(List<T>, Throwable) - Method in interface org.zalando.fahrschein.EventPublishingHandler
-
Invoked when publishing of events failed, before afterPublish.
- onMappingException(JsonMappingException) - Method in class org.zalando.fahrschein.MappingEventReader
- onPublish(String, List<T>) - Method in interface org.zalando.fahrschein.EventPublishingHandler
-
This method is called by the
NakadiClientwhen a request towards Nakadi is going to be sent. - onSuccess(String, List<Cursor>) - Method in interface org.zalando.fahrschein.CursorManager
-
Commits a list of cursors on successful event consumption for multiple cursors of the same event type.
- onSuccess(String, List<Cursor>) - Method in class org.zalando.fahrschein.ManagedCursorManager
- onSuccess(String, Cursor) - Method in interface org.zalando.fahrschein.CursorManager
-
Commits one cursor on successful event consumption, i.e.
- onSuccess(String, Cursor) - Method in class org.zalando.fahrschein.ManagedCursorManager
- org.zalando.fahrschein - package org.zalando.fahrschein
-
Apply ParametersAreNonnullByDefault on all classes
- org.zalando.fahrschein.domain - package org.zalando.fahrschein.domain
P
- Partition - Class in org.zalando.fahrschein.domain
- Partition(String, String, String) - Constructor for class org.zalando.fahrschein.domain.Partition
- PARTITIONING - Enum constant in enum class org.zalando.fahrschein.domain.BatchItemResponse.Step
- PartitionManager - Interface in org.zalando.fahrschein
- PlatformAccessTokenProvider - Class in org.zalando.fahrschein
-
Default
access token providerbuilt for Zalando's Platform IAM which provides OAuth2 tokens as files in a mounted directory. - PlatformAccessTokenProvider() - Constructor for class org.zalando.fahrschein.PlatformAccessTokenProvider
- PlatformAccessTokenProvider(String) - Constructor for class org.zalando.fahrschein.PlatformAccessTokenProvider
- PlatformAccessTokenProvider(Path, String) - Constructor for class org.zalando.fahrschein.PlatformAccessTokenProvider
- Preconditions - Class in org.zalando.fahrschein
- processBatch(IORunnable) - Method in interface org.zalando.fahrschein.BatchHandler
- publish(String, List<T>) - Method in class org.zalando.fahrschein.NakadiClient
-
Writes the given events to the endpoint provided by the eventName.
- PUBLISHING - Enum constant in enum class org.zalando.fahrschein.domain.BatchItemResponse.Step
- PublishingRetryStrategies - Enum Class in org.zalando.fahrschein
- PublishingRetryStrategy - Interface in org.zalando.fahrschein
R
- RawEventPersistenceException - Exception Class in org.zalando.fahrschein
-
Exception thrown for server-side (partial) failures of event persistence, e.g.
- RawEventPersistenceException(BatchItemResponse[]) - Constructor for exception class org.zalando.fahrschein.RawEventPersistenceException
- read(JsonParser) - Method in interface org.zalando.fahrschein.EventReader
- read(JsonParser) - Method in class org.zalando.fahrschein.MappingEventReader
- readFromBegin() - Method in class org.zalando.fahrschein.SubscriptionBuilder
- readFromBegin(List<Partition>) - Method in interface org.zalando.fahrschein.StreamBuilder.LowLevelStreamBuilder
- readFromCursors(List<Cursor>) - Method in class org.zalando.fahrschein.SubscriptionBuilder
- readFromEnd() - Method in class org.zalando.fahrschein.SubscriptionBuilder
- readFromNewestAvailableOffset(List<Partition>) - Method in interface org.zalando.fahrschein.StreamBuilder.LowLevelStreamBuilder
- releaseLock(String, String) - Method in class org.zalando.fahrschein.SimplePartitionManager
- run() - Method in interface org.zalando.fahrschein.IORunnable
- runnable(Class<T>, Listener<T>) - Method in interface org.zalando.fahrschein.StreamBuilder
- runnable(EventReader<T>, Listener<T>) - Method in interface org.zalando.fahrschein.StreamBuilder
S
- SimplePartitionManager - Class in org.zalando.fahrschein
- SimplePartitionManager() - Constructor for class org.zalando.fahrschein.SimplePartitionManager
- skipUnavailableOffsets(List<Partition>) - Method in interface org.zalando.fahrschein.StreamBuilder.LowLevelStreamBuilder
- SNAPSHOT - Enum constant in enum class org.zalando.fahrschein.domain.DataOperation
- stream(String) - Method in class org.zalando.fahrschein.NakadiClient
- stream(Subscription) - Method in class org.zalando.fahrschein.NakadiClient
- StreamBuilder - Interface in org.zalando.fahrschein
- StreamBuilder.LowLevelStreamBuilder - Interface in org.zalando.fahrschein
- StreamBuilder.SubscriptionStreamBuilder - Interface in org.zalando.fahrschein
- StreamParameters - Class in org.zalando.fahrschein
- StreamParameters() - Constructor for class org.zalando.fahrschein.StreamParameters
- SUBMITTED - Enum constant in enum class org.zalando.fahrschein.domain.BatchItemResponse.PublishingStatus
- subscribe() - Method in class org.zalando.fahrschein.SubscriptionBuilder
- subscribe(String) - Method in class org.zalando.fahrschein.SubscriptionBuilder
-
This method allows clients to stream events on the given subscription ID.
- subscribe(String, String, String) - Method in class org.zalando.fahrschein.NakadiClient
-
Deprecated.
- subscription(String, String) - Method in class org.zalando.fahrschein.NakadiClient
-
Build a subscription for a single event type.
- subscription(String, Set<String>) - Method in class org.zalando.fahrschein.NakadiClient
-
Build a subscription for multiple event types.
- Subscription - Class in org.zalando.fahrschein.domain
- Subscription(String, String, Set<String>) - Constructor for class org.zalando.fahrschein.domain.Subscription
- Subscription(String, String, Set<String>, String, OffsetDateTime, Authorization) - Constructor for class org.zalando.fahrschein.domain.Subscription
- SubscriptionBuilder - Class in org.zalando.fahrschein
- SubscriptionRequest - Class in org.zalando.fahrschein.domain
- SubscriptionRequest(String, Set<String>, String) - Constructor for class org.zalando.fahrschein.domain.SubscriptionRequest
- SubscriptionRequest(String, Set<String>, String, SubscriptionRequest.Position, List<Cursor>, Authorization) - Constructor for class org.zalando.fahrschein.domain.SubscriptionRequest
- SubscriptionRequest.Position - Enum Class in org.zalando.fahrschein.domain
T
- toString() - Method in enum class org.zalando.fahrschein.domain.BatchItemResponse.PublishingStatus
- toString() - Method in enum class org.zalando.fahrschein.domain.BatchItemResponse.Step
- toString() - Method in class org.zalando.fahrschein.domain.Cursor
- toString() - Method in class org.zalando.fahrschein.domain.Metadata
- toString() - Method in enum class org.zalando.fahrschein.domain.SubscriptionRequest.Position
U
- unchecked() - Method in interface org.zalando.fahrschein.IORunnable
- unlockPartitions(Lock) - Method in interface org.zalando.fahrschein.PartitionManager
-
Unlocks previously locked partitions.
- unlockPartitions(Lock) - Method in class org.zalando.fahrschein.SimplePartitionManager
- UPDATE - Enum constant in enum class org.zalando.fahrschein.domain.DataOperation
- UserAgentRequestFactory - Class in org.zalando.fahrschein
V
- VALIDATING - Enum constant in enum class org.zalando.fahrschein.domain.BatchItemResponse.Step
- valueOf(String) - Static method in enum class org.zalando.fahrschein.domain.BatchItemResponse.PublishingStatus
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.zalando.fahrschein.domain.BatchItemResponse.Step
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.zalando.fahrschein.domain.DataOperation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.zalando.fahrschein.domain.SubscriptionRequest.Position
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.zalando.fahrschein.PublishingRetryStrategies
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.zalando.fahrschein.domain.BatchItemResponse.PublishingStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.zalando.fahrschein.domain.BatchItemResponse.Step
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.zalando.fahrschein.domain.DataOperation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.zalando.fahrschein.domain.SubscriptionRequest.Position
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.zalando.fahrschein.PublishingRetryStrategies
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- withAccessTokenProvider(AccessTokenProvider) - Method in class org.zalando.fahrschein.NakadiClientBuilder
- withAdmins(List<Authorization.AuthorizationAttribute>) - Method in class org.zalando.fahrschein.AuthorizationBuilder
- withAdmins(Authorization.AuthorizationAttribute...) - Method in class org.zalando.fahrschein.AuthorizationBuilder
- withAuthorization(Authorization) - Method in class org.zalando.fahrschein.SubscriptionBuilder
- withAuthorizationProvider(AuthorizationProvider) - Method in class org.zalando.fahrschein.NakadiClientBuilder
- withBackoffStrategy(BackoffStrategy) - Method in interface org.zalando.fahrschein.StreamBuilder.LowLevelStreamBuilder
- withBackoffStrategy(BackoffStrategy) - Method in interface org.zalando.fahrschein.StreamBuilder.SubscriptionStreamBuilder
- withBackoffStrategy(BackoffStrategy) - Method in interface org.zalando.fahrschein.StreamBuilder
- withBatchFlushTimeout(int) - Method in class org.zalando.fahrschein.StreamParameters
-
Maximum time in seconds to wait for the flushing of each chunk (per partition).
- withBatchHandler(BatchHandler) - Method in interface org.zalando.fahrschein.StreamBuilder.LowLevelStreamBuilder
- withBatchHandler(BatchHandler) - Method in interface org.zalando.fahrschein.StreamBuilder.SubscriptionStreamBuilder
- withBatchHandler(BatchHandler) - Method in interface org.zalando.fahrschein.StreamBuilder
- withBatchLimit(int) - Method in class org.zalando.fahrschein.StreamParameters
-
Maximum number of events in each chunk (and therefore per partition) of the stream.
- withBatchTimespan(int) - Method in class org.zalando.fahrschein.StreamParameters
-
Useful for batching events based on their received_at timestamp.
- withCommitTimeout(int) - Method in class org.zalando.fahrschein.StreamParameters
-
Maximum amount of seconds that Nakadi will be waiting for commit after sending a batch to a client.
- withConsumerGroup(String) - Method in class org.zalando.fahrschein.SubscriptionBuilder
- withCursorManager(CursorManager) - Method in class org.zalando.fahrschein.NakadiClientBuilder
- withLock(Lock) - Method in interface org.zalando.fahrschein.StreamBuilder.LowLevelStreamBuilder
- withMaxRetries(int) - Method in class org.zalando.fahrschein.EqualJitterBackoffStrategy
- withMaxRetries(int) - Method in class org.zalando.fahrschein.ExponentialBackoffStrategy
- withMaxRetries(int) - Method in class org.zalando.fahrschein.FullJitterBackoffStrategy
- withMaxUncommittedEvents(int) - Method in class org.zalando.fahrschein.StreamParameters
-
The maximum number of uncommitted events that Nakadi will stream before pausing the stream.
- withMetricsCollector(MetricsCollector) - Method in interface org.zalando.fahrschein.StreamBuilder.LowLevelStreamBuilder
- withMetricsCollector(MetricsCollector) - Method in interface org.zalando.fahrschein.StreamBuilder.SubscriptionStreamBuilder
- withMetricsCollector(MetricsCollector) - Method in interface org.zalando.fahrschein.StreamBuilder
- withObjectMapper(ObjectMapper) - Method in class org.zalando.fahrschein.NakadiClientBuilder
- withObjectMapper(ObjectMapper) - Method in interface org.zalando.fahrschein.StreamBuilder
- withPublishingRetryAndBackoffStrategy(PublishingRetryStrategies, BackoffStrategy) - Method in class org.zalando.fahrschein.NakadiClientBuilder
- withReaders(List<Authorization.AuthorizationAttribute>) - Method in class org.zalando.fahrschein.AuthorizationBuilder
- withReaders(Authorization.AuthorizationAttribute...) - Method in class org.zalando.fahrschein.AuthorizationBuilder
- withRequestHandler(EventPublishingHandler) - Method in class org.zalando.fahrschein.NakadiClientBuilder
- withRequestHandlers(List<EventPublishingHandler>) - Method in class org.zalando.fahrschein.NakadiClientBuilder
- withStreamKeepAliveLimit(int) - Method in class org.zalando.fahrschein.StreamParameters
-
Maximum number of empty keep alive batches to get in a row before closing the connection.
- withStreamLimit(int) - Method in class org.zalando.fahrschein.StreamParameters
-
Maximum number of events in this stream (over all partitions being streamed in this connection).
- withStreamParameters(StreamParameters) - Method in interface org.zalando.fahrschein.StreamBuilder.LowLevelStreamBuilder
- withStreamParameters(StreamParameters) - Method in interface org.zalando.fahrschein.StreamBuilder.SubscriptionStreamBuilder
- withStreamParameters(StreamParameters) - Method in interface org.zalando.fahrschein.StreamBuilder
- withStreamTimeout(int) - Method in class org.zalando.fahrschein.StreamParameters
-
Maximum time in seconds a stream will live before connection is closed by the server.
Z
- ZignAccessTokenProvider - Class in org.zalando.fahrschein
-
Deprecated.As of release 1.0, replaced by
PlatformAccessTokenProvider - ZignAccessTokenProvider() - Constructor for class org.zalando.fahrschein.ZignAccessTokenProvider
-
Deprecated.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
SubscriptionBuilderandNakadiClient.subscription(String, String)instead.