When I replaced the top pine pillar caps with cedar, I filled the gaps with hardened putty, glue as mentioned, nailer, caulking, finish & sealer. It’s not going anywhere!!! The composites look & feel so artificial. Plus their saw dust is like plastic shavings.
Replacing deck boards every 20 years or so, much more fun!!! Especially, when I’m 80. Will take more pics next time..haha!!!