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

Open
CharlesCheung96 opened this issue May 22, 2024 · 0 comments · May be fixed by #11161
Open

ErrKafkaTopicExprInvalid should print invalid expression #11160

CharlesCheung96 opened this issue May 22, 2024 · 0 comments · May be fixed by #11161

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.com/pingcap/errors.AddStack\n\tgithub.com/pingcap/[email protected]/errors.go:174\ngithub.com/pingcap/errors.(*Error).GenWithStackByCause\n\tgithub.com/pingcap/[email protected]/normalize.go:307\ngithub.com/pingcap/tiflow/cdc/api/v2.APIV2HelpersImpl.verifyUpdateChangefeedConfig\n\tgithub.com/pingcap/tiflow/cdc/api/v2/api_helpers.go:325\ngithub.com/pingcap/tiflow/cdc/api/v2.(*OpenAPIV2).updateChangefeed\n\tgithub.com/pingcap/tiflow/cdc/api/v2/changefeed.go:374\ngithub.com/gin-gonic/gin.(*Context).Next\n\tgithub.com/gin-gonic/[email protected]/context.go:165\ngithub.com/pingcap/tiflow/cdc/api/middleware.ForwardToOwnerMiddleware.func1\n\tgithub.com/pingcap/tiflow/cdc/api/middleware/middleware.go:95\ngithub.com/gin-gonic/gin.(*Context).Next\n\tgithub.com/gin-gonic/[email protected]/context.go:165\ngithub.com/pingcap/tiflow/cdc/api/middleware.ErrorHandleMiddleware.func1\n\tgithub.com/pingcap/tiflow/cdc/api/middleware/middleware.go:64\ngithub.com/gin-gonic/gin.(*Context).Next\n\tgithub.com/gin-gonic/[email protected]/context.go:165\ngithub.com/pingcap/tiflow/cdc/api/middleware.LogMiddleware.func1\n\tgithub.com/pingcap/tiflow/cdc/api/middleware/middleware.go:38\ngithub.com/gin-gonic/gin.(*Context).Next\n\tgithub.com/gin-gonic/[email protected]/context.go:165\ngithub.com/pingcap/tiflow/cdc/api/middleware.CheckServerReadyMiddleware.func1\n\tgithub.com/pingcap/tiflow/cdc/api/middleware/middleware.go:103\ngithub.com/gin-gonic/gin.(*Context).Next\n\tgithub.com/gin-gonic/[email protected]/context.go:165\ngithub.com/gin-gonic/gin.CustomRecoveryWithWriter.func1\n\tgithub.com/gin-gonic/[email protected]/recovery.go:99\ngithub.com/gin-gonic/gin.(*Context).Next\n\tgithub.com/gin-gonic/[email protected]/context.go:165\ngithub.com/gin-gonic/gin.(*Engine).handleHTTPRequest\n\tgithub.com/gin-gonic/[email protected]/gin.go:489\ngithub.com/gin-gonic/gin.(*Engine).ServeHTTP\n\tgithub.com/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"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant