I was a serious distance runner and starting getting a-fib in my late 20s. Had a university classmate who got it in university. I gather the evidence isn't quite definitive, but there are a number of studies arguing that endurance athletes are far more prone to this than others.
As others say, the good news is that you can treat it via drugs/ablation/modified exercise. As a fellow reasonably young person (late 30s), my fear is that the a-fib will progress to the point that it is happening constantly in a few decades time.
The danger, to be clear, isn't that your heart is at risk of suddenly stopping. The danger is that your heart beats inefficiently, blood pools in the heart and thus clots, and then you have a stroke when the clot goes somewhere undesirable. The risk is still quite low if your a-fib only lasts a few minutes or hours at a time, but the risk gets much higher if it is a multi-day type of thing.
The surgery seems to get better all the time, but "success" is often weirdly measured, such as whether the frequency decreases slightly after multiple ablations. This is not a great success in my books. Total cure after one ablation is.
I have treated mine by reducing my exercise. This wasn't an awful thing for me as I was already drifting away from serious running and just had my first kid. No Olympic medals were left on the table. For a number of years I still ran casually, a few times a week. But then the a-fib started happening even on that reduced schedule. Eventually I got down to one run a week but was having the same problem. I am now at a point where -- when I am out of shape -- I can do whatever I like. Play baseball with kids, sprint for the bus, go on a bike ride, etc. Even go on a single run. But if I am "fit", then something as trivial as going up the stairs might trigger it. I have concluded that being out of shape by runner standards is the best solution for me. Don't get me wrong, I still walk 10km a day, do pushups and situps and am lean (that's a function of diet for all but the most serious athletes, not the # of miles you run). But I would get crushed in a road race. My youngest is now starting to win races and I can keep up for now, but he will probably outpace my limited schedule shortly.
On the subject of other running ailments that creep up, I've also got a couple of arthritic big toes from too many miles. Incidentally, I also totally fried my system with too much interval work when young and was a shadow of myself by the time I hit my mid 20s despite ratcheting the training intensity ever higher.
It is interesting that some of the most successful master's athletes were not serious runners earlier on. Ed Whitlock was a classic example. In fairness, most elites have better things to do by the time they age out of top competition, but there may be something to this. I'd rather save some health (or even sports performance) for my old age. It is a fine line to walk. My conclusion is that a reasonable amount of exercise is good and life extending but extreme exercise of any kind isn't great for the body. Might still be worth it for the competition or the fun, of course.