Class PulsarAutoConfiguration
java.lang.Object
org.springframework.boot.autoconfigure.pulsar.PulsarAutoConfiguration
@AutoConfiguration
@ConditionalOnClass({org.apache.pulsar.client.api.PulsarClient.class,org.springframework.pulsar.core.PulsarTemplate.class})
@Import(org.springframework.boot.autoconfigure.pulsar.PulsarConfiguration.class)
public class PulsarAutoConfiguration
extends Object
Auto-configuration
for Apache Pulsar.- Since:
- 3.2.0
- Author:
- Chris Bono, Soby Chacko, Alexander Preuß, Phillip Webb, Jonas Geiregat
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.pulsar.transaction.PulsarTransactionManager
pulsarTransactionManager
(org.apache.pulsar.client.api.PulsarClient pulsarClient)
-
Method Details
-
pulsarTransactionManager
@Bean @ConditionalOnMissingBean(org.springframework.pulsar.transaction.PulsarAwareTransactionManager.class) @ConditionalOnProperty(prefix="spring.pulsar.transaction", name="enabled") public org.springframework.pulsar.transaction.PulsarTransactionManager pulsarTransactionManager(org.apache.pulsar.client.api.PulsarClient pulsarClient)
-