René's URL Explorer Experiment


Title: Kafka Consumer > KafkaAutoConfiguration seems not to work [axon 3.3.3 + spring boot 2.0.4.RELEASE] · Issue #82 · AxonFramework/ReferenceGuide · GitHub

Open Graph Title: Kafka Consumer > KafkaAutoConfiguration seems not to work [axon 3.3.3 + spring boot 2.0.4.RELEASE] · Issue #82 · AxonFramework/ReferenceGuide

X Title: Kafka Consumer > KafkaAutoConfiguration seems not to work [axon 3.3.3 + spring boot 2.0.4.RELEASE] · Issue #82 · AxonFramework/ReferenceGuide

Description: I have defined no additional configuration and the application doesn't start by just defining the consumer-group-id as defined the Axon documentation. Dependencies: implementation('org.axonframework:axon-spring-boot-starter:3.3.3') imple...

Open Graph Description: I have defined no additional configuration and the application doesn't start by just defining the consumer-group-id as defined the Axon documentation. Dependencies: implementation('org.axonframewor...

X Description: I have defined no additional configuration and the application doesn't start by just defining the consumer-group-id as defined the Axon documentation. Dependencies: implementation('org.axon...

Opengraph URL: https://github.com/AxonFramework/ReferenceGuide/issues/82

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Kafka Consumer \u003e KafkaAutoConfiguration seems not to work [axon 3.3.3 + spring boot 2.0.4.RELEASE]","articleBody":"I have defined no additional configuration and the application doesn't start by just defining the consumer-group-id as defined the Axon documentation.\r\n\r\nDependencies:\r\n```\r\n    implementation('org.axonframework:axon-spring-boot-starter:3.3.3')\r\n    implementation('org.apache.kafka:kafka-clients:2.0.0')\r\n    implementation('org.axonframework:axon-kafka:3.3.3')\r\n    + spring-boot 2.0.4.RELEASE\r\n```\r\n\r\nHere is the configuration i have defined in my application.yml\r\n\r\n```\r\naxon:\r\n  kafka:\r\n    default-topic: \"my-topic\"\r\n    bootstrap-servers: \"bootstrap.kafka.svc.cluster.local:9092\"\r\n    consumer:\r\n      group-id: \"query-consumer\"\r\n      key-deserializer: org.apache.kafka.common.serialization.StringDeserializer\r\n      value-deserializer: org.apache.kafka.common.serialization.ByteArrayDeserializer\r\n```\r\nHere are the corresponding starting logs:\r\n\r\n```\r\n\r\n***************************\r\nAPPLICATION FAILED TO START\r\n***************************\r\n\r\nDescription:\r\n\r\nParameter 0 of method kafkaMessageSource in org.axonframework.boot.autoconfig.KafkaAutoConfiguration required a bean of type 'org.axonframework.kafka.eventhandling.consumer.Fetcher' that could not be found.\r\n\t- Bean method 'kafkaFetcher' in 'KafkaAutoConfiguration' not loaded because @ConditionalOnBean (types: org.axonframework.kafka.eventhandling.consumer.ConsumerFactory,org.axonframework.kafka.eventhandling.KafkaMessageConverter; SearchStrategy: all) did not find any beans of type org.axonframework.kafka.eventhandling.KafkaMessageConverter\r\n\r\n\r\nAction:\r\n\r\nConsider revisiting the entries above or defining a bean of type 'org.axonframework.kafka.eventhandling.consumer.Fetcher' in your configuration.\r\n\r\n2018-08-13 18:42:36,923 ERROR :  gid: trace= span= [main] o.s.b.d.LoggingFailureAnalysisReporter \r\n\r\n***************************\r\nAPPLICATION FAILED TO START\r\n***************************\r\n\r\nDescription:\r\n\r\nParameter 0 of method kafkaMessageSource in org.axonframework.boot.autoconfig.KafkaAutoConfiguration required a bean of type 'org.axonframework.kafka.eventhandling.consumer.Fetcher' that could not be found.\r\n\t- Bean method 'kafkaFetcher' in 'KafkaAutoConfiguration' not loaded because @ConditionalOnBean (types: org.axonframework.kafka.eventhandling.consumer.ConsumerFactory,org.axonframework.kafka.eventhandling.KafkaMessageConverter; SearchStrategy: all) did not find any beans of type org.axonframework.kafka.eventhandling.KafkaMessageConverter\r\n```\r\n\r\nI could make the application start by redefining this in a class annotated with @Configuration:\r\n```\r\n@ConditionalOnMissingBean\r\n    @Bean\r\n    public KafkaMessageConverter\u003cString, byte[]\u003e kafkaMessageConverter(\r\n            @Qualifier(\"eventSerializer\") Serializer eventSerializer) {\r\n        return new DefaultKafkaMessageConverter(eventSerializer);\r\n    }\r\n``` \r\n\r\nBut still nothing is consumed from the Kafka topic (no tracking event processor is started).\r\n\r\nI then tried to define to add this in addition to try to register manually an event processor for my KafkaMessageSource but still without any success.\r\n\r\n```\r\n    @Autowired\r\n    public void trackingEventProcessor(\r\n            @SuppressWarnings(\"SpringJavaInjectionPointsAutowiringInspection\") EventProcessingConfiguration eventProcessingConfiguration,\r\n            KafkaMessageSource kafkaMessageSource) {\r\n        eventProcessingConfiguration.registerTrackingEventProcessorUsingSource(\"kafka-tracking-event-processor\", configuration -\u003e kafkaMessageSource);\r\n    }\r\n\r\n    @Bean\r\n    public EventStorageEngine eventStorageEngine(){\r\n        return new InMemoryEventStorageEngine();\r\n    }\r\n\r\n    @Bean\r\n    public TokenStore tokenSTore(){\r\n        return new InMemoryTokenStore();\r\n    }\r\n```\r\nAny clue on how to configure this properly? ","author":{"url":"https://github.com/ghilainm","@type":"Person","name":"ghilainm"},"datePublished":"2018-08-13T16:48:33.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/82/ReferenceGuide/issues/82"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:598cf687-3b03-de7b-48e2-3c5a26841a5c
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB8A8:199AF4:2006C0F:2152E64:6A5C8C7B
html-safe-nonce005a5742ea454551d62ca8f07364544e12a7c92ce25eefb2d0093352d6451a65
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOEE4OjE5OUFGNDoyMDA2QzBGOjIxNTJFNjQ6NkE1QzhDN0IiLCJ2aXNpdG9yX2lkIjoiNzE4ODEyMDkzNjk2NTI0NjA3NSIsInJlZ2lvbl9lZGdlIjoic2VhIiwicmVnaW9uX3JlbmRlciI6InNlYSJ9
visitor-hmac8fd07961c704916677e2cf01a49c6e9f2e66ae135a217564e5037b25083a66e9
hovercard-subject-tagissue:350108888
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/AxonFramework/ReferenceGuide/82/issue_layout
twitter:imagehttps://opengraph.githubassets.com/d4af6efc230b96b5b44b2ac0b2299fe5fbe464ab18ae0a74484b0fa3aa29acc4/AxonFramework/ReferenceGuide/issues/82
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d4af6efc230b96b5b44b2ac0b2299fe5fbe464ab18ae0a74484b0fa3aa29acc4/AxonFramework/ReferenceGuide/issues/82
og:image:altI have defined no additional configuration and the application doesn't start by just defining the consumer-group-id as defined the Axon documentation. Dependencies: implementation('org.axonframewor...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameghilainm
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
turbo-cache-controlno-preview
go-importgithub.com/AxonFramework/ReferenceGuide git https://github.com/AxonFramework/ReferenceGuide.git
octolytics-dimension-user_id1237237
octolytics-dimension-user_loginAxonFramework
octolytics-dimension-repository_id63346002
octolytics-dimension-repository_nwoAxonFramework/ReferenceGuide
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id63346002
octolytics-dimension-repository_network_root_nwoAxonFramework/ReferenceGuide
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/AxonFramework/ReferenceGuide/issues/82#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FAxonFramework%2FReferenceGuide%2Fissues%2F82
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FAxonFramework%2FReferenceGuide%2Fissues%2F82
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=AxonFramework%2FReferenceGuide
Reloadhttps://github.com/AxonFramework/ReferenceGuide/issues/82
Reloadhttps://github.com/AxonFramework/ReferenceGuide/issues/82
Reloadhttps://github.com/AxonFramework/ReferenceGuide/issues/82
Please reload this pagehttps://github.com/AxonFramework/ReferenceGuide/issues/82
AxonFramework https://github.com/AxonFramework
ReferenceGuidehttps://github.com/AxonFramework/ReferenceGuide
Notifications https://github.com/login?return_to=%2FAxonFramework%2FReferenceGuide
Fork 22 https://github.com/login?return_to=%2FAxonFramework%2FReferenceGuide
Star 29 https://github.com/login?return_to=%2FAxonFramework%2FReferenceGuide
Code https://github.com/AxonFramework/ReferenceGuide
Issues 19 https://github.com/AxonFramework/ReferenceGuide/issues
Pull requests 0 https://github.com/AxonFramework/ReferenceGuide/pulls
Actions https://github.com/AxonFramework/ReferenceGuide/actions
Projects https://github.com/AxonFramework/ReferenceGuide/projects
Security and quality 0 https://github.com/AxonFramework/ReferenceGuide/security
Insights https://github.com/AxonFramework/ReferenceGuide/pulse
Code https://github.com/AxonFramework/ReferenceGuide
Issues https://github.com/AxonFramework/ReferenceGuide/issues
Pull requests https://github.com/AxonFramework/ReferenceGuide/pulls
Actions https://github.com/AxonFramework/ReferenceGuide/actions
Projects https://github.com/AxonFramework/ReferenceGuide/projects
Security and quality https://github.com/AxonFramework/ReferenceGuide/security
Insights https://github.com/AxonFramework/ReferenceGuide/pulse
Kafka Consumer > KafkaAutoConfiguration seems not to work [axon 3.3.3 + spring boot 2.0.4.RELEASE]https://github.com/AxonFramework/ReferenceGuide/issues/82#top
Status: Under Discussionhttps://github.com/AxonFramework/ReferenceGuide/issues?q=state%3Aopen%20label%3A%22Status%3A%20Under%20Discussion%22
https://github.com/ghilainm
ghilainmhttps://github.com/ghilainm
on Aug 13, 2018https://github.com/AxonFramework/ReferenceGuide/issues/82#issue-350108888
@configurationhttps://github.com/configuration
Status: Under Discussionhttps://github.com/AxonFramework/ReferenceGuide/issues?q=state%3Aopen%20label%3A%22Status%3A%20Under%20Discussion%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.