Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ErrKafkaTopicExprInvalid should print invalid expression #11160

Closed
CharlesCheung96 opened this issue May 22, 2024 · 0 comments · Fixed by #11161
Closed

ErrKafkaTopicExprInvalid should print invalid expression #11160

CharlesCheung96 opened this issue May 22, 2024 · 0 comments · Fixed by #11161
Labels
affects-6.5 This bug affects the 6.5.x(LTS) versions. affects-7.1 This bug affects the 7.1.x(LTS) versions. affects-7.5 This bug affects the 7.5.x(LTS) versions. affects-8.1 This bug affects the 8.1.x(LTS) versions. area/ticdc Issues or PRs related to TiCDC. severity/minor type/bug The issue is confirmed as a bug.

Comments

@CharlesCheung96
Copy link
Contributor

[INFO] [middleware.go:48] [/api/v2/changefeeds/changefeed-xxx] [status=400] [method=PUT] [path=/api/v2/changefeeds/changefeed-xxx] [query=] [ip=***] [user-agent=Go-http-client/1.1] [client-version=] [error="[CDC:ErrChangefeedUpdateRefused]changefeed update error: [CDC:ErrKafkaTopicExprInvalid]invalid topic expression"] [errorVerbose="[CDC:ErrChangefeedUpdateRefused]changefeed update error: [CDC:ErrKafkaTopicExprInvalid]invalid topic expression\ngithub.jparrowsec.cn/pingcap/errors.AddStack\n\tgithub.jparrowsec.cn/pingcap/[email protected]/errors.go:174\ngithub.jparrowsec.cn/pingcap/errors.(*Error).GenWithStackByCause\n\tgithub.jparrowsec.cn/pingcap/[email protected]/normalize.go:307\ngithub.jparrowsec.cn/pingcap/tiflow/cdc/api/v2.APIV2HelpersImpl.verifyUpdateChangefeedConfig\n\tgithub.jparrowsec.cn/pingcap/tiflow/cdc/api/v2/api_helpers.go:325\ngithub.jparrowsec.cn/pingcap/tiflow/cdc/api/v2.(*OpenAPIV2).updateChangefeed\n\tgithub.jparrowsec.cn/pingcap/tiflow/cdc/api/v2/changefeed.go:374\ngithub.jparrowsec.cn/gin-gonic/gin.(*Context).Next\n\tgithub.jparrowsec.cn/gin-gonic/[email protected]/context.go:165\ngithub.jparrowsec.cn/pingcap/tiflow/cdc/api/middleware.ForwardToOwnerMiddleware.func1\n\tgithub.jparrowsec.cn/pingcap/tiflow/cdc/api/middleware/middleware.go:95\ngithub.jparrowsec.cn/gin-gonic/gin.(*Context).Next\n\tgithub.jparrowsec.cn/gin-gonic/[email protected]/context.go:165\ngithub.jparrowsec.cn/pingcap/tiflow/cdc/api/middleware.ErrorHandleMiddleware.func1\n\tgithub.jparrowsec.cn/pingcap/tiflow/cdc/api/middleware/middleware.go:64\ngithub.jparrowsec.cn/gin-gonic/gin.(*Context).Next\n\tgithub.jparrowsec.cn/gin-gonic/[email protected]/context.go:165\ngithub.jparrowsec.cn/pingcap/tiflow/cdc/api/middleware.LogMiddleware.func1\n\tgithub.jparrowsec.cn/pingcap/tiflow/cdc/api/middleware/middleware.go:38\ngithub.jparrowsec.cn/gin-gonic/gin.(*Context).Next\n\tgithub.jparrowsec.cn/gin-gonic/[email protected]/context.go:165\ngithub.jparrowsec.cn/pingcap/tiflow/cdc/api/middleware.CheckServerReadyMiddleware.func1\n\tgithub.jparrowsec.cn/pingcap/tiflow/cdc/api/middleware/middleware.go:103\ngithub.jparrowsec.cn/gin-gonic/gin.(*Context).Next\n\tgithub.jparrowsec.cn/gin-gonic/[email protected]/context.go:165\ngithub.jparrowsec.cn/gin-gonic/gin.CustomRecoveryWithWriter.func1\n\tgithub.jparrowsec.cn/gin-gonic/[email protected]/recovery.go:99\ngithub.jparrowsec.cn/gin-gonic/gin.(*Context).Next\n\tgithub.jparrowsec.cn/gin-gonic/[email protected]/context.go:165\ngithub.jparrowsec.cn/gin-gonic/gin.(*Engine).handleHTTPRequest\n\tgithub.jparrowsec.cn/gin-gonic/[email protected]/gin.go:489\ngithub.jparrowsec.cn/gin-gonic/gin.(*Engine).ServeHTTP\n\tgithub.jparrowsec.cn/gin-gonic/[email protected]/gin.go:445\nnet/http.serverHandler.ServeHTTP\n\tnet/http/server.go:2947\nnet/http.(*conn).serve\n\tnet/http/server.go:1991\nruntime.goexit\n\truntime/asm_amd64.s:1594"]
@CharlesCheung96 CharlesCheung96 added type/bug The issue is confirmed as a bug. severity/minor affects-6.5 This bug affects the 6.5.x(LTS) versions. affects-7.1 This bug affects the 7.1.x(LTS) versions. affects-7.5 This bug affects the 7.5.x(LTS) versions. affects-8.1 This bug affects the 8.1.x(LTS) versions. labels Jul 8, 2024
@ti-chi-bot ti-chi-bot bot closed this as completed in 6c8dfe8 Aug 13, 2024
@jebter jebter added the area/ticdc Issues or PRs related to TiCDC. label Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-6.5 This bug affects the 6.5.x(LTS) versions. affects-7.1 This bug affects the 7.1.x(LTS) versions. affects-7.5 This bug affects the 7.5.x(LTS) versions. affects-8.1 This bug affects the 8.1.x(LTS) versions. area/ticdc Issues or PRs related to TiCDC. severity/minor type/bug The issue is confirmed as a bug.
Projects
2 participants