Skip to content

Using session attributes inside the avro object builder #21

@s-danilov

Description

@s-danilov

Hi there,
Could you please add the ability to use session attributes in the avro object builder.
For example, I use this code

exec( _.set("text", "Hello"))
.exec(
 kafka("incomeMsg")
 .send("myTopic",
           AvroObject
             .newBuilder()
             .setMessage("${text}")
             .build())
       ) 

I expect that the instance of AvroObject will contain field "Message"="Hello", but it's equal to "${text}", like String

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions