Skip to content

KafkaConsumer receives other data #7

@maker2k

Description

@maker2k

ABytes := TFile.ReadAllBytes('d:\red.bmp')
FKafkaProducer.Produce(edtTopic.Text, @abytes, length(ABytes))

//bytes: 66, 77, 186, 1, ...

in TfrmConsume.Start

MsgRec.Data := TKafkaUtils.PointerToBytes(Msg.payload, Msg.len)

//bytes 152, 231, 229, 8, ...

data length matches!

what am I doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions