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

Reading BMP messages from Kafka stream #48

Closed
ACodingfreak opened this issue Jan 18, 2023 · 6 comments
Closed

Reading BMP messages from Kafka stream #48

ACodingfreak opened this issue Jan 18, 2023 · 6 comments

Comments

@ACodingfreak
Copy link

Hi All,

As per my understanding bgpreader provides data_interface option to read from a particular topic in kafka stream and dump output.

While using pybgpstream, I can see data_interface option where I can provide Kafka, but I am not sure how I can share kafka topic and filter for the same? Any ideas ?

@alistairking
Copy link
Member

@ACodingfreak
Copy link
Author

Thanks for the reply alistairking that worked.

I have one more question. When working with MRT dumps for BGP updates I can see all the updates from a collector in time sequential order but when I process it on Kafka stream, only bgp updates from a particular peer is Time sequential order but not from a single collector. Is this expected behavior ?

@alistairking
Copy link
Member

Yeah. The topics in the RouteViews BMP stream are partitioned based on peer ASN.

@ACodingfreak
Copy link
Author

Thanks for the info @alistairking

Where can I get more details regarding the routeviews bmp kafka stream partitions and topics supported
Currently I am only aware of the kafka stream as "stream.routeviews.org:9092" and topics as "routeviews.linx.6830.bmp_raw" taken from an example in BGPKIT.

If there are any other BMP KAFKA streams which can be used for live processing of BGP updates from RRC or routeviews please do share the same.

@alistairking
Copy link
Member

the RV topics are all structured as routeviews.<collector>.<peer-asn>.bmp_raw.
you can get a sense of the collectors and peer ASNs here: http://www.routeviews.org/peers/peering-status.html (most though not all are available via kafka).

afaik there is not currently a kafka stream for RIS data.

@ACodingfreak
Copy link
Author

Thanks for the info @alistairking

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants