Preheat oven to 350℉. Line a 9" cake pan or springform pan with parchment paper; then grease it, sprinkle a bit of flour on the paper, and set aside.
Shred the apple with a grater. If you wish to peel the apple, do so before grating the apple. I do not peel my apples, but either way works! Set the shredded apple aside.
Mix the Dry Ingredients: In a medium mixing bowl, sift together the flour, baking soda, baking powder, cinnamon, nutmeg, and salt. Set aside.
Combine the Wet Ingredients: In a large mixing bowl, mix the extra-virgin olive oil, granulated sugar, and brown sugar until fully incorporated. Mix the eggs in one at a time. Next, add the sourdough discard, vanilla extract, and shredded apple.
Gradually pour the dry ingredients into the bowl of the wet ingredients. Stir until just combined. Scrape the sides of the bowl to incorporate all the dry ingredients, while being mindful not to overmix. Finally, fold in the chopped walnuts. Pour the cake batter into the pan.
Make the Crumble: Chop the apple. In a medium bowl, combine the powdered sugar, brown sugar, chopped walnuts, and chopped apple. Sprinkle the topping over the cake batter.
Bake: Bake the coffee cake for about 45 minutes. You can tell if the cake is done by sticking a toothpick in the center of it. If no wet batter sticks to it (moist crumbs are fine), it is fully baked. Allow it to cool for 10 minutes.
Make the Glaze: In a small bowl, whisk together the powdered sugar and milk until smooth. Drizzle the glaze over the coffee cake. Cut and serve!
Leftovers: Store leftovers in an airtight container in the fridge for up to 3 days.